aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_work.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/irq_work.c')
-rw-r--r--arch/x86/kernel/irq_work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq_work.c b/arch/x86/kernel/irq_work.c
index 1de84e3ab4e0..15d741ddfeeb 100644
--- a/arch/x86/kernel/irq_work.c
+++ b/arch/x86/kernel/irq_work.c
@@ -41,7 +41,7 @@ __visible void smp_trace_irq_work_interrupt(struct pt_regs *regs)
41void arch_irq_work_raise(void) 41void arch_irq_work_raise(void)
42{ 42{
43#ifdef CONFIG_X86_LOCAL_APIC 43#ifdef CONFIG_X86_LOCAL_APIC
44 if (!cpu_has_apic) 44 if (!arch_irq_work_has_interrupt())
45 return; 45 return;
46 46
47 apic->send_IPI_self(IRQ_WORK_VECTOR); 47 apic->send_IPI_self(IRQ_WORK_VECTOR);