diff --git a/hypervisor/arch/x86/cpu.c b/hypervisor/arch/x86/cpu.c index fd7a362eb..1f8918b08 100644 --- a/hypervisor/arch/x86/cpu.c +++ b/hypervisor/arch/x86/cpu.c @@ -100,7 +100,7 @@ uint64_t get_active_pcpu_bitmap(void) static void enable_ac_for_splitlock(void) { -#ifdef CONFIG_ENFORCE_TURNOFF_AC +#ifndef CONFIG_ENFORCE_TURNOFF_AC uint64_t test_ctl; if (has_core_cap(1U << 5U)) {