summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-05-17 12:22:09 +0000
committermiod <miod@openbsd.org>2014-05-17 12:22:09 +0000
commit63c8ebfef5b0688debde55f81b182d36d485339d (patch)
tree8c292057ca7b51dc7373a0a8472b7a956ba1305a
parentRemove "WARNING:" prefix from SYSFAIL and ACFAIL messages, so that, in case (diff)
downloadwireguard-openbsd-63c8ebfef5b0688debde55f81b182d36d485339d.tar.xz
wireguard-openbsd-63c8ebfef5b0688debde55f81b182d36d485339d.zip
In pmap_remove_page(), do not keep wired mappings; the callers want them gone.
-rw-r--r--sys/arch/m88k/m88k/pmap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/m88k/m88k/pmap.c b/sys/arch/m88k/m88k/pmap.c
index 71c5411a1b9..2109637b695 100644
--- a/sys/arch/m88k/m88k/pmap.c
+++ b/sys/arch/m88k/m88k/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.76 2014/05/08 22:17:33 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.77 2014/05/17 12:22:09 miod Exp $ */
/*
* Copyright (c) 2001-2004, 2010, Miodrag Vallat.
@@ -1418,12 +1418,6 @@ pmap_remove_page(struct vm_page *pg)
pvl = pvl->pv_next;
continue; /* no page mapping */
}
- if (pmap_pte_w(pte)) {
- DPRINTF(CD_RMPG, ("pmap_remove_page(%p): wired mapping not removed\n",
- pg));
- pvl = pvl->pv_next;
- continue;
- }
pmap_remove_pte(pmap, va, pte, pg, TRUE);
/*