diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2007-10-11 10:34:09 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2007-10-11 10:34:09 +0000 |
commit | 0c29247b4bc12a417c75522bfc5f2b621c3144e8 (patch) | |
tree | f648131c8f9de6ecec22233697432f4271336d32 /sys/kern | |
parent | 9c0d95cb3e60aa6706fc0795e4e00c0dbc5510c7 (diff) |
sched_lock_idle and sched_unlock_idle are obsolete now.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sched_bsd.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/kern/sched_bsd.c b/sys/kern/sched_bsd.c index aafcbb9eeb4..1954f3a3ce7 100644 --- a/sys/kern/sched_bsd.c +++ b/sys/kern/sched_bsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sched_bsd.c,v 1.13 2007/10/10 15:53:53 art Exp $ */ +/* $OpenBSD: sched_bsd.c,v 1.14 2007/10/11 10:34:08 art Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /*- @@ -296,20 +296,6 @@ updatepri(struct proc *p) resetpriority(p); } -#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG) -void -sched_unlock_idle(void) -{ - SIMPLE_UNLOCK(&sched_lock); -} - -void -sched_lock_idle(void) -{ - SIMPLE_LOCK(&sched_lock); -} -#endif /* MULTIPROCESSOR || LOCKDEBUG */ - /* * General yield call. Puts the current process back on its run queue and * performs a voluntary context switch. |