svn commit: r269759 - head/sys/amd64/amd64

Alan Cox alc at FreeBSD.org
Sat Aug 9 17:13:03 UTC 2014


Author: alc
Date: Sat Aug  9 17:13:02 2014
New Revision: 269759
URL: http://svnweb.freebsd.org/changeset/base/269759

Log:
  Update the text of a KASSERT() to reflect the changes in r269728.

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Sat Aug  9 15:53:40 2014	(r269758)
+++ head/sys/amd64/amd64/pmap.c	Sat Aug  9 17:13:02 2014	(r269759)
@@ -4152,7 +4152,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, 
 	if ((prot & VM_PROT_WRITE) != 0)
 		newpte |= PG_RW;
 	KASSERT((newpte & (PG_M | PG_RW)) != PG_M,
-	    ("pmap_enter: access includes VM_PROT_WRITE but prot doesn't"));
+	    ("pmap_enter: flags includes VM_PROT_WRITE but prot doesn't"));
 	if ((prot & VM_PROT_EXECUTE) == 0)
 		newpte |= pg_nx;
 	if ((flags & PMAP_ENTER_WIRED) != 0)


More information about the svn-src-head mailing list