summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/riscv/riscv/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c
index a6c899b..5b897dd 100644
--- a/sys/riscv/riscv/pmap.c
+++ b/sys/riscv/riscv/pmap.c
@@ -1589,7 +1589,7 @@ free_pv_chunk(struct pv_chunk *pc)
#if 0 /* TODO: For minidump */
dump_drop_page(m->phys_addr);
#endif
- vm_page_unwire(m, PQ_INACTIVE);
+ vm_page_unwire(m, PQ_NONE);
vm_page_free(m);
}
OpenPOWER on IntegriCloud