diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-12 02:03:14 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2025-02-12 02:11:11 +0100 |
commit | 94cb1e217bdbe22afe0bfc2847bd6cdf50915324 (patch) | |
tree | 336582565d23561ab93894bfefa907464eec5a77 /kern/lock.h | |
parent | ea5ef1b6706dae31b6dc7083d341fda6818d4391 (diff) |
lock: Fix build with MACH_LDEBUG but no SMP
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 9d081d39..ebc57dbf 100644 --- a/kern/lock.h +++ b/kern/lock.h @@ -58,8 +58,8 @@ * MACH_LDEBUG is set. */ -#if NCPUS > 1 #include <machine/lock.h>/*XXX*/ +#if NCPUS > 1 #if MACH_LOCK_MON == 0 #define simple_lock_nocheck _simple_lock #define simple_lock_try_nocheck _simple_lock_try |