summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-07-18 15:19:13 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-07-18 15:19:13 +0000
commit67def9eaf806ec9cac66e050c16df00e712f7c22 (patch)
tree6af780bd0266606adc41cc6a9d3d3e39aa061728 /sys/uvm
parent91a8487cb275d02a7a10a369575be6a8516d5597 (diff)
Unconfuse UVM_UNLOCK_AND_WAIT. From NetBSD.
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/uvm/uvm.h b/sys/uvm/uvm.h
index e5410a9e52c..92d7382cfb5 100644
--- a/sys/uvm/uvm.h
+++ b/sys/uvm/uvm.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm.h,v 1.10 2001/06/23 19:24:33 smart Exp $ */
-/* $NetBSD: uvm.h,v 1.17 1999/07/22 22:58:38 thorpej Exp $ */
+/* $OpenBSD: uvm.h,v 1.11 2001/07/18 15:19:12 art Exp $ */
+/* $NetBSD: uvm.h,v 1.18 1999/11/13 00:21:17 thorpej Exp $ */
/*
*
@@ -150,14 +150,8 @@ UVMHIST_DECL(pdhist);
* uvm_sleep() function.
*/
-#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
-#define UVM_UNLOCK_AND_WAIT(event, lock, intr ,msg, timo) \
- uvm_sleep(event, lock, intr, msg, timo)
-
-#else
#define UVM_UNLOCK_AND_WAIT(event, lock, intr, msg, timo) \
- uvm_sleep(event, NULL, intr, msg, timo)
-#endif /* MULTIPROCESSOR || LOCKDEBUG */
+ uvm_sleep(event, lock, intr, msg, timo)
/*
* UVM_PAGE_OWN: track page ownership (only if UVM_PAGE_TRKOWN)