diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/sched_bsd.c | 16 | ||||
-rw-r--r-- | sys/sys/sched.h | 6 |
2 files changed, 2 insertions, 20 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. diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 62b7f568637..05a98d222ce 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sched.h,v 1.17 2007/10/10 15:53:53 art Exp $ */ +/* $OpenBSD: sched.h,v 1.18 2007/10/11 10:34:08 art Exp $ */ /* $NetBSD: sched.h,v 1.2 1999/02/28 18:14:58 ross Exp $ */ /*- @@ -191,10 +191,6 @@ do { \ splx(s); \ } while (/* CONSTCOND */ 0) - -void sched_lock_idle(void); -void sched_unlock_idle(void); - #else /* ! MULTIPROCESSOR || LOCKDEBUG */ #define SCHED_ASSERT_LOCKED() splassert(IPL_SCHED); |