From 94cb1e217bdbe22afe0bfc2847bd6cdf50915324 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 12 Feb 2025 02:03:14 +0100 Subject: lock: Fix build with MACH_LDEBUG but no SMP --- kern/lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/lock.h') 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 /*XXX*/ +#if NCPUS > 1 #if MACH_LOCK_MON == 0 #define simple_lock_nocheck _simple_lock #define simple_lock_try_nocheck _simple_lock_try -- cgit v1.2.3