diff options
| -rw-r--r-- | sys/i386/i386/pmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index c103ca604f55..2176f0a127ef 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -2627,8 +2627,10 @@ pmap_remove_all(vm_page_t m) vm_offset_t va; vm_page_t free; +#if 0 KASSERT((m->flags & PG_FICTITIOUS) == 0, ("pmap_remove_all: page %p is fictitious", m)); +#endif mtx_assert(&vm_page_queue_mtx, MA_OWNED); sched_pin(); pvh = pa_to_pvh(VM_PAGE_TO_PHYS(m)); @@ -4481,7 +4483,7 @@ pmap_mincore(pmap_t pmap, vm_offset_t addr) if (*pdep != 0) { if (*pdep & PG_PS) { pte = *pdep; - val = MINCORE_SUPER: + val = MINCORE_SUPER; /* Compute the physical address of the 4KB page. */ pa = ((*pdep & PG_PS_FRAME) | (addr & PDRMASK)) & PG_FRAME; |
