summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index 6be7589..dc88b6f 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -653,15 +653,11 @@ mtx_destroy(struct mtx *m)
#define WITNESS_COUNT 200
#define WITNESS_NCHILDREN 2
-#ifndef WITNESS
-#define WITNESS 0 /* default off */
-#endif
-
#ifndef SMP
extern int witness_spin_check;
#endif
-int witness_watch;
+int witness_watch = 1;
struct witness {
struct witness *w_next;
OpenPOWER on IntegriCloud