diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-04-03 14:16:43 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-04-03 14:16:43 +0000 |
commit | bcb3ad23834025a8dd32fab45263bbe552bebf06 (patch) | |
tree | 45530255387bfc1e472c0db485dfcc7938d1254a /sys/uvm | |
parent | c6f98ff2109135b8b7384fb7b1a933fd81e5462e (diff) |
Fix an #ifdef: uvm_pmr_isfree() is also used when DEBUG is defined
Pointed out by Fred Crowson. ok ariane@
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_pmemrange.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_pmemrange.h b/sys/uvm/uvm_pmemrange.h index 3fb477e6ef7..100b47c6f43 100644 --- a/sys/uvm/uvm_pmemrange.h +++ b/sys/uvm/uvm_pmemrange.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pmemrange.h,v 1.5 2010/04/22 19:02:55 oga Exp $ */ +/* $OpenBSD: uvm_pmemrange.h,v 1.6 2011/04/03 14:16:42 guenther Exp $ */ /* * Copyright (c) 2009 Ariane van der Steldt <ariane@stack.nl> @@ -76,7 +76,7 @@ int uvm_pmr_getpages(psize_t, paddr_t, paddr_t, paddr_t, paddr_t, int, int, struct pglist *); void uvm_pmr_init(void); -#ifdef DDB +#if defined(DDB) || defined(DEBUG) int uvm_pmr_isfree(struct vm_page *pg); #endif |