summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-01-04 19:26:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-01-04 19:26:53 +0000
commitea07f6abec36e41d5c56fdf0eea8217168c1873e (patch)
tree92e681294c1c65ebe8206607380a3dd9128bd56a /sys
parente773e6ad3d1b4941ab60cb16fc3000b3f24aafad (diff)
Only compile in uvm_page_physdump() if option DDB as it's not directly callable
and supposed to be only used from within ddb.
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_page.c b/sys/uvm/uvm_page.c
index 53ce72ad1bc..8dc2ba1ee78 100644
--- a/sys/uvm/uvm_page.c
+++ b/sys/uvm/uvm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.c,v 1.63 2007/12/18 11:05:52 thib Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.64 2008/01/04 19:26:52 miod Exp $ */
/* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -850,7 +850,7 @@ uvm_page_rehash()
}
-#if 1 /* XXXCDC: TMP TMP TMP DEBUG DEBUG DEBUG */
+#ifdef DDB /* XXXCDC: TMP TMP TMP DEBUG DEBUG DEBUG */
void uvm_page_physdump(void); /* SHUT UP GCC */