diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2014-08-16 16:47:53 (GMT) |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2014-09-13 16:38:39 (GMT) |
commit | 09f6edd424218eb69078551b2ecfada1f2d098eb (patch) | |
tree | cfad20f0a2093fd07d46ab8e666d9a4399bda5ee /arch/arm/kernel | |
parent | 3010279f0fc36f0388872203e63ca49912f648fd (diff) | |
download | linux-09f6edd424218eb69078551b2ecfada1f2d098eb.tar.xz |
arm: Tell irq work about self IPI support
ARM irq work IPI support depends on SMP support. That information is
partly known at early boottime. Lets implement
arch_irq_work_has_interrupt() accordingly.
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 9388a3d..bbe22fc 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -503,7 +503,7 @@ void arch_send_call_function_single_ipi(int cpu) #ifdef CONFIG_IRQ_WORK void arch_irq_work_raise(void) { - if (is_smp()) + if (arch_irq_work_has_interrupt()) smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK); } #endif |