summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-11-28 19:37:24 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-11-28 19:37:24 +0000
commitb70cafbd9fabe74d3e93a58a83fdee76ecaa6543 (patch)
tree89bc558f6b090a3fca84d1cc71844e89f1a9403e /sys/arch/sparc64
parentb52aed75ac014a55f7807d96b2dcdb8581c2fa49 (diff)
Don't complain about removing wired pages; this is expected to happen with
ftruncate(2) on mlock(2)'ed pages.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/pmap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c
index ac32d5b2211..d1e8dad3614 100644
--- a/sys/arch/sparc64/sparc64/pmap.c
+++ b/sys/arch/sparc64/sparc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.46 2007/10/27 22:20:16 martin Exp $ */
+/* $OpenBSD: pmap.c,v 1.47 2007/11/28 19:37:23 kettenis Exp $ */
/* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */
#undef NO_VCACHE /* Don't forget the locked TLB in dostart */
/*
@@ -2964,12 +2964,6 @@ pmap_page_protect(pg, prot)
pv->pv_va |= PV_REF;
if (data & (TLB_MODIFY))
pv->pv_va |= PV_MOD;
- if (data & TLB_TSB_LOCK) {
-#ifdef DIAGNOSTIC
- printf("pmap_page_protect: Removing wired page pm %p va %p\n",
- (void *)(u_long)pv->pv_pmap, (void *)(u_long)pv->pv_va);
-#endif
- }
if (pseg_set(pv->pv_pmap, pv->pv_va&PV_VAMASK, 0, 0)) {
printf("pmap_page_protect: gotten pseg empty!\n");
Debugger();