From 74e3717af6f715feb3b73113100a15a742a4e43a Mon Sep 17 00:00:00 2001 From: "Charles E. Youse" Date: Mon, 30 Sep 2019 12:18:28 -0400 Subject: [PATCH] arch/x86: (Intel64) fix conditional assembly in locore.S was ignoring the rest of the expression, though the effect was harmless (including unreachable code in some builds). Signed-off-by: Charles E. Youse --- arch/x86/core/intel64/locore.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/core/intel64/locore.S b/arch/x86/core/intel64/locore.S index 19eab541e74..57a97088075 100644 --- a/arch/x86/core/intel64/locore.S +++ b/arch/x86/core/intel64/locore.S @@ -14,7 +14,7 @@ .section .locore,"ax" .code32 -#ifdef CONFIG_SMP && (CONFIG_MP_NUM_CPUS > 1) +#if defined(CONFIG_SMP) && (CONFIG_MP_NUM_CPUS > 1) /* * APs are sent here on startup, in real mode. This