Don't put callout_lock under #ifdef DIAGNOSTIC despite the fact that it
works anyway.
This commit is contained in:
parent
85ce27a435
commit
e5ce0c046f
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user