summaryrefslogtreecommitdiff
path: root/sys/uvm
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-05-05 15:37:42 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-05-05 15:37:42 +0000
commitf32e52bbc2947c223f3c422cc1e065ae5b4d7130 (patch)
tree0f28c766758b87a9fbfb0dbbbe255b36a8b90af7 /sys/uvm
parentd938f4ce95e2fe5e63a87135d3ff9e91b29817c5 (diff)
retire ltsleep(); The only refrence left too it is in an
ifdef netbsd block in drm code, but oga@ says he'll remove it soon... OK art@, oga@;
Diffstat (limited to 'sys/uvm')
-rw-r--r--sys/uvm/uvm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/uvm/uvm.h b/sys/uvm/uvm.h
index ec01125d36e..977d45c3b29 100644
--- a/sys/uvm/uvm.h
+++ b/sys/uvm/uvm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm.h,v 1.22 2007/11/29 00:26:41 tedu Exp $ */
+/* $OpenBSD: uvm.h,v 1.23 2008/05/05 15:37:41 thib Exp $ */
/* $NetBSD: uvm.h,v 1.24 2000/11/27 08:40:02 chs Exp $ */
/*
@@ -157,8 +157,7 @@ extern UVMHIST_DECL(pghist);
#define UVM_UNLOCK_AND_WAIT(event, slock, intr, msg, timo) \
do { \
- (void) ltsleep(event, PVM | PNORELOCK | (intr ? PCATCH : 0), \
- msg, timo, slock); \
+ tsleep(event, PVM|PNORELOCK|(intr ? PCATCH : 0), msg, timo); \
} while (0)
/*