summaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2011-06-30 10:19:43 +0000
committerAttilio Rao <attilio@FreeBSD.org>2011-06-30 10:19:43 +0000
commit7b744f6b0112c737623a4b46b91886e5293bcc92 (patch)
tree151ad3c21846bd1ce3f02e19cee52eaaa291350b /sys/mips
parentfd9f4609be6426f7201019da45b3a19a28363046 (diff)
parent2f39985f003eb992300b8c72621fb9f862165f11 (diff)
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index 32124fed2024..8b35e0dc5512 100644
--- a/sys/mips/mips/pmap.c
+++ b/sys/mips/mips/pmap.c
@@ -1708,8 +1708,8 @@ pmap_remove_all(vm_page_t m)
pv_entry_t pv;
pt_entry_t *pte, tpte;
- KASSERT((m->flags & PG_FICTITIOUS) == 0,
- ("pmap_remove_all: page %p is fictitious", m));
+ KASSERT((m->flags & (PG_FICTITIOUS | PG_UNMANAGED)) == 0,
+ ("pmap_remove_all: page %p is not managed", m));
vm_page_lock_queues();
if (m->md.pv_flags & PV_TABLE_REF)