Don't put callout_lock under #ifdef DIAGNOSTIC despite the fact that it

works anyway.
This commit is contained in:
phk 2003-06-20 08:39:04 +00:00
parent 85ce27a435
commit e5ce0c046f

View File

@ -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. */