Most of the time, x86 can trigger self-IPIs. Tell irq work subsystem about it.
Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Paul Gortmaker <[email protected]> --- arch/x86/include/asm/irq_work.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/irq_work.h b/arch/x86/include/asm/irq_work.h index dad8266..c7489cd 100644 --- a/arch/x86/include/asm/irq_work.h +++ b/arch/x86/include/asm/irq_work.h @@ -2,8 +2,12 @@ #define _ASM_X86_IRQ_WORK_H #ifdef CONFIG_X86_LOCAL_APIC +#include <asm/cpufeature.h> + extern void __arch_irq_work_raise(void); #define arch_irq_work_raise __arch_irq_work_raise + +#define arch_irq_work_has_ipi() (cpu_has_apic) #endif #include <asm-generic/irq_work.h> -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

