Update the text of a KASSERT() to reflect the changes in r269728.
This commit is contained in:
parent
3bdfd7a933
commit
6ec80ed21e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user