summaryrefslogtreecommitdiffstats
path: root/sys/sys/sched.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-01-11 19:34:52 +0000
committerguenther <guenther@openbsd.org>2015-01-11 19:34:52 +0000
commit5152c8cc7a48e89c413a8ac05bfe870da93703f2 (patch)
treec0ced2eed901cac88f90f2b5e3b983d2ccc16ca1 /sys/sys/sched.h
parentswitch prototype warnings to implicit-declaration warnings. (diff)
downloadwireguard-openbsd-5152c8cc7a48e89c413a8ac05bfe870da93703f2.tar.xz
wireguard-openbsd-5152c8cc7a48e89c413a8ac05bfe870da93703f2.zip
LOCKDEBUG is dead; perform the funeral rites
pointed out by Helg (xx404 (at) msn.com) ok deraadt@ miod@
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r--sys/sys/sched.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h
index 032580f5fe1..695780ae70a 100644
--- a/sys/sys/sched.h
+++ b/sys/sys/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.37 2014/10/17 01:51:39 tedu Exp $ */
+/* $OpenBSD: sched.h,v 1.38 2015/01/11 19:34:52 guenther Exp $ */
/* $NetBSD: sched.h,v 1.2 1999/02/28 18:14:58 ross Exp $ */
/*-
@@ -183,7 +183,7 @@ void remrunqueue(struct proc *);
yield(); \
} while (0)
-#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)
+#if defined(MULTIPROCESSOR)
#include <sys/lock.h>
/*
@@ -215,7 +215,7 @@ do { \
splx(s); \
} while (/* CONSTCOND */ 0)
-#else /* ! MULTIPROCESSOR || LOCKDEBUG */
+#else /* ! MULTIPROCESSOR */
#define SCHED_ASSERT_LOCKED() splassert(IPL_SCHED);
#define SCHED_ASSERT_UNLOCKED() /* nothing */
@@ -225,7 +225,7 @@ do { \
#define SCHED_LOCK(s) s = splsched()
#define SCHED_UNLOCK(s) splx(s)
-#endif /* MULTIPROCESSOR || LOCKDEBUG */
+#endif /* MULTIPROCESSOR */
#endif /* _KERNEL */
#endif /* _SYS_SCHED_H_ */