2 * x86 specific code for irq_work
4 * Copyright (C) 2010 Red Hat, Inc., Peter Zijlstra <pzijlstr@redhat.com>
7 #include <linux/kernel.h>
8 #include <linux/irq_work.h>
9 #include <linux/hardirq.h>
11 #include <trace/events/irq_vectors.h>
13 void smp_irq_work_interrupt(struct pt_regs
*regs
)
17 trace_irq_vector_entry(IRQ_WORK_VECTOR
);
18 inc_irq_stat(apic_irq_work_irqs
);
20 trace_irq_vector_exit(IRQ_WORK_VECTOR
);
24 void arch_irq_work_raise(void)
26 #ifdef CONFIG_X86_LOCAL_APIC
30 apic
->send_IPI_self(IRQ_WORK_VECTOR
);