diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2007-02-12 11:43:48 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2007-02-12 11:43:48 +0000 |
commit | 9048f3f18670cbad21b56d73b79b6f329e735892 (patch) | |
tree | 4df9af534359c3ad06b1d18eb9863b440d6786db /sys/uvm/uvm_pglist.c | |
parent | 4220cec44a7fef9a4d96bcb2ead2a6694029ed8b (diff) |
Let this compile with 'option DEBUG' again.
ok dim@
Diffstat (limited to 'sys/uvm/uvm_pglist.c')
-rw-r--r-- | sys/uvm/uvm_pglist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/uvm/uvm_pglist.c b/sys/uvm/uvm_pglist.c index 42d23f2b05a..2a6aa83efa9 100644 --- a/sys/uvm/uvm_pglist.c +++ b/sys/uvm/uvm_pglist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pglist.c,v 1.17 2007/01/16 13:36:38 dim Exp $ */ +/* $OpenBSD: uvm_pglist.c,v 1.18 2007/02/12 11:43:47 tom Exp $ */ /* $NetBSD: uvm_pglist.c,v 1.13 2001/02/18 21:19:08 chs Exp $ */ /*- @@ -74,6 +74,9 @@ uvm_pglistalloc_simple(psize_t size, paddr_t low, paddr_t high, struct vm_page *pg; int s, todo, idx, pgflidx, error, free_list; UVMHIST_FUNC("uvm_pglistalloc_simple"); UVMHIST_CALLED(pghist); +#ifdef DEBUG + vm_page_t tp; +#endif /* Default to "lose". */ error = ENOMEM; |