From e5ce0c046f73b21456cfe796fb2431293b063e75 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 20 Jun 2003 08:39:04 +0000 Subject: Don't put callout_lock under #ifdef DIAGNOSTIC despite the fact that it works anyway. --- sys/kern/kern_timeout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index be13f97..a32764a 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. */ -- cgit v1.1