summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/x86/delay.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/x86/delay.c')
-rw-r--r--payloads/libpayload/arch/x86/delay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/arch/x86/delay.c b/payloads/libpayload/arch/x86/delay.c
index a617ce602e..14056dda33 100644
--- a/payloads/libpayload/arch/x86/delay.c
+++ b/payloads/libpayload/arch/x86/delay.c
@@ -50,7 +50,7 @@ void arch_ndelay(uint64_t ns)
if (ns > APIC_INTERRUPT_LATENCY_NS)
apic_us = (ns - APIC_INTERRUPT_LATENCY_NS) / NSECS_PER_USEC;
- if (IS_ENABLED(CONFIG_LP_ENABLE_APIC) && apic_initialized() && apic_us)
+ if (CONFIG(LP_ENABLE_APIC) && apic_initialized() && apic_us)
apic_delay(apic_us);
if (delta > PAUSE_THRESHOLD_TICKS)