diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-04 19:26:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-04 19:26:53 +0000 |
commit | ea07f6abec36e41d5c56fdf0eea8217168c1873e (patch) | |
tree | 92e681294c1c65ebe8206607380a3dd9128bd56a /sys | |
parent | e773e6ad3d1b4941ab60cb16fc3000b3f24aafad (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.c | 4 |
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 */ |