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

This commit is contained in:
Alan Cox 2014-08-09 17:13:02 +00:00
parent 55ad7cd740
commit 4d33fe39e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269759

View file

@ -4152,7 +4152,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
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)