diff options
author | phk <phk@FreeBSD.org> | 2003-06-20 08:39:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-06-20 08:39:04 +0000 |
commit | e5ce0c046f73b21456cfe796fb2431293b063e75 (patch) | |
tree | 6c40354db1c868b60271ebc90b1272c370f80974 /sys/kern/kern_timeout.c | |
parent | 85ce27a4354707cfdace95318811c3d7b6271db6 (diff) | |
download | FreeBSD-src-e5ce0c046f73b21456cfe796fb2431293b063e75.zip FreeBSD-src-e5ce0c046f73b21456cfe796fb2431293b063e75.tar.gz |
Don't put callout_lock under #ifdef DIAGNOSTIC despite the fact that it
works anyway.
Diffstat (limited to 'sys/kern/kern_timeout.c')
-rw-r--r-- | sys/kern/kern_timeout.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |