summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-06-20 08:39:04 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-06-20 08:39:04 +0000
commit166400b7e67a7111a0f3c33e774e5603b20382f9 (patch)
tree6c40354db1c868b60271ebc90b1272c370f80974
parentadece6e592d1cd26d31a359e91360a8274c63756 (diff)
Notes
-rw-r--r--sys/kern/kern_timeout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index be13f97eb8e1..a32764a5d7ef 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -69,8 +69,9 @@ struct callout_list callfree;
int callwheelsize, callwheelbits, callwheelmask;
struct callout_tailq *callwheel;
int softticks; /* Like ticks, but for softclock(). */
+struct mtx callout_lock;
#ifdef DIAGNOSTIC
-struct mtx callout_lock, callout_dont_sleep;
+struct mtx callout_dont_sleep;
#endif
static struct callout *nextsoftcheck; /* Next callout to be checked. */