diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/sparc64/pmap.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sparc64/sparc64/pmap.c b/sys/sparc64/sparc64/pmap.c index e158bf4..b34a07f 100644 --- a/sys/sparc64/sparc64/pmap.c +++ b/sys/sparc64/sparc64/pmap.c @@ -833,14 +833,15 @@ pmap_cache_remove(vm_page_t m, vm_offset_t va) m->md.colors[DCACHE_COLOR(va)]); KASSERT((m->flags & PG_FICTITIOUS) == 0, ("pmap_cache_remove: fake page")); - KASSERT(m->md.colors[DCACHE_COLOR(va)] > 0, - ("pmap_cache_remove: no mappings %d <= 0", - m->md.colors[DCACHE_COLOR(va)])); PMAP_STATS_INC(pmap_ncache_remove); if (dcache_color_ignore != 0) return; + KASSERT(m->md.colors[DCACHE_COLOR(va)] > 0, + ("pmap_cache_remove: no mappings %d <= 0", + m->md.colors[DCACHE_COLOR(va)])); + /* * Find the color for this virtual address and note the removal of * the mapping. |