|
@@ -41,7 +41,7 @@ __visible void smp_trace_irq_work_interrupt(struct pt_regs *regs)
|
|
void arch_irq_work_raise(void)
|
|
void arch_irq_work_raise(void)
|
|
{
|
|
{
|
|
#ifdef CONFIG_X86_LOCAL_APIC
|
|
#ifdef CONFIG_X86_LOCAL_APIC
|
|
- if (!cpu_has_apic)
|
|
|
|
|
|
+ if (!arch_irq_work_has_interrupt())
|
|
return;
|
|
return;
|
|
|
|
|
|
apic->send_IPI_self(IRQ_WORK_VECTOR);
|
|
apic->send_IPI_self(IRQ_WORK_VECTOR);
|