mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
Update the text of a KASSERT() to reflect the changes in r269728.
This commit is contained in:
parent
55ad7cd740
commit
4d33fe39e4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269759
|
@ -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 a new issue