summaryrefslogtreecommitdiff
path: root/kern/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/lock.h')
-rw-r--r--kern/lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/lock.h b/kern/lock.h
index ebc57dbf..6c976eab 100644
--- a/kern/lock.h
+++ b/kern/lock.h
@@ -71,7 +71,7 @@
#endif
#endif
-#define MACH_SLOCKS NCPUS > 1
+#define MACH_SLOCKS ((NCPUS > 1) || MACH_LDEBUG)
/*
* A simple spin lock.