From f32e52bbc2947c223f3c422cc1e065ae5b4d7130 Mon Sep 17 00:00:00 2001 From: "Thordur I. Bjornsson" Date: Mon, 5 May 2008 15:37:42 +0000 Subject: 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@; --- sys/sys/proc.h | 3 +-- sys/uvm/uvm.h | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 29389bb5e6a..ba1ae9e9975 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.102 2007/11/28 20:07:36 oga Exp $ */ +/* $OpenBSD: proc.h,v 1.103 2008/05/05 15:37:41 thib Exp $ */ /* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */ /*- @@ -456,7 +456,6 @@ void sleep_queue_init(void); int tsleep(void *, int, const char *, int); int msleep(void *, struct mutex *, int, const char*, int); -#define ltsleep(c, p, w, t, l) tsleep(c, p, w, t) #if defined(MULTIPROCESSOR) void proc_trampoline_mp(void); /* XXX */ 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) /* -- cgit v1.2.3