summaryrefslogtreecommitdiffstats
path: root/sys/arm/arm/pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm/arm/pmap.c')
-rw-r--r--sys/arm/arm/pmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index a1a25c0..b9cf668 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -3448,7 +3448,8 @@ do_l2b_alloc:
else if (!pve &&
!(m->flags & (PG_UNMANAGED | PG_FICTITIOUS)))
pve = pmap_get_pv_entry();
- KASSERT(pve != NULL, ("No pv"));
+ KASSERT(pve != NULL || m->flags & (PG_UNMANAGED |
+ PG_FICTITIOUS), ("No pv"));
oflags = pve->pv_flags;
/*
OpenPOWER on IntegriCloud