summaryrefslogtreecommitdiff
path: root/kern/mutex/mutex_adaptive.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex/mutex_adaptive.c')
-rw-r--r--kern/mutex/mutex_adaptive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kern/mutex/mutex_adaptive.c b/kern/mutex/mutex_adaptive.c
index ceec8f10..d5cab2f4 100644
--- a/kern/mutex/mutex_adaptive.c
+++ b/kern/mutex/mutex_adaptive.c
@@ -31,8 +31,9 @@
#include <kern/thread.h>
#include <machine/cpu.h>
-/* Set to 1 to enable debugging */
+#ifndef MUTEX_ADAPTIVE_DEBUG
#define MUTEX_ADAPTIVE_DEBUG 0
+#endif /* MUTEX_ADAPTIVE_DEBUG */
#if MUTEX_ADAPTIVE_DEBUG