diff options
author | 2008-01-04 19:26:52 +0000 | |
---|---|---|
committer | 2008-01-04 19:26:52 +0000 | |
commit | 981843fa042baf6720a9b51e082e272ad4200497 (patch) | |
tree | 8c99439d135e7cb9bf6f890836f9abeb234544e5 | |
parent | Compute physmem as the real physical memory size, not the physical memory (diff) | |
download | wireguard-openbsd-981843fa042baf6720a9b51e082e272ad4200497.tar.xz wireguard-openbsd-981843fa042baf6720a9b51e082e272ad4200497.zip |
Only compile in uvm_page_physdump() if option DDB as it's not directly callable
and supposed to be only used from within ddb.
-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 */ |