summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/irq_work.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/irq_work.h')
-rw-r--r--arch/x86/include/asm/irq_work.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/irq_work.h b/arch/x86/include/asm/irq_work.h
index d0afb05c84fc..f70604125286 100644
--- a/arch/x86/include/asm/irq_work.h
+++ b/arch/x86/include/asm/irq_work.h
@@ -5,7 +5,7 @@
static inline bool arch_irq_work_has_interrupt(void)
{
- return cpu_has_apic;
+ return boot_cpu_has(X86_FEATURE_APIC);
}
#endif /* _ASM_IRQ_WORK_H */