summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-07-04 17:40:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-07-04 17:40:26 +0000
commit6501723f3fdcbd55b0183572ccad30ac7d46355e (patch)
tree00bd9cc6a960f0370626fccc30defe592c314eea /sys
parenteb39b91c11aacbcb9dfe81c7962adc656ee537ee (diff)
Make debug code compile.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c
index 239b03bd9cc..d97b8a280ba 100644
--- a/sys/arch/sparc64/sparc64/pmap.c
+++ b/sys/arch/sparc64/sparc64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.63 2008/06/14 10:55:20 mk Exp $ */
+/* $OpenBSD: pmap.c,v 1.64 2008/07/04 17:40:25 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 */
/*
@@ -2327,7 +2327,7 @@ pmap_protect(pm, sva, eva, prot)
if (((data = pseg_get(pm, sva))&TLB_V) /*&& ((data&TLB_TSB_LOCK) == 0)*/) {
pa = data&TLB_PA_MASK;
#ifdef DEBUG
- if (pmapdebug & (PDB_CHANGEPROT|PDB_REF))
+ if (pmapdebug & (PDB_CHANGEPROT|PDB_REF)) {
printf("pmap_protect: va=%08x data=%x:%08x seg=%08x pte=%08x\r\n",
(u_int)sva, (int)(pa>>32), (int)pa, (int)va_to_seg(sva), (int)va_to_pte(sva));
}