diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-12 02:04:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-12 02:11:11 +0100 |
commit | c72c74b8544763f536566d3004a2cc957f1b1937 (patch) | |
tree | 1881ac627b3fe41b0ce2f1b942603dd924923d0d /kern/lock.h | |
parent | 94cb1e217bdbe22afe0bfc2847bd6cdf50915324 (diff) |
lock: Also enable non-SMP slock checking code on MACH_LDEBUG
Diffstat (limited to 'kern/lock.h')
-rw-r--r-- | kern/lock.h | 2 |
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. |