summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
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 32b5ef8f0d0..18195da69cc 100644
--- a/sys/uvm/uvm_page.c
+++ b/sys/uvm/uvm_page.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_page.c,v 1.120 2013/03/12 21:07:02 deraadt Exp $ */
+/* $OpenBSD: uvm_page.c,v 1.121 2013/03/12 21:08:04 deraadt Exp $ */
/* $NetBSD: uvm_page.c,v 1.44 2000/11/27 08:40:04 chs Exp $ */
/*
@@ -819,7 +819,7 @@ uvm_pglistalloc(psize_t size, paddr_t low, paddr_t high, paddr_t alignment,
if ((uvmexp.free <= uvmexp.reserve_pagedaemon &&
!((curproc == uvm.pagedaemon_proc) ||
(curproc == syncerproc)))) {
- if (UVM_PLA_WAITOK) {
+ if (flags & UVM_PLA_WAITOK) {
uvm_wait("uvm_pglistalloc");
goto again;
}