diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2008-03-28 08:19:03 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2008-03-28 08:19:03 +0000 |
| commit | 96a6e6e6caebc82f7120fcbbcabc2baa4a5c1a7b (patch) | |
| tree | 346ef3a35afa606434725a1b92a2172427f55c4a /sys | |
| parent | 14b0729b932dda4e911f2cde61da9395f837fa25 (diff) | |
Notes
Diffstat (limited to 'sys')
| -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; |
