aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-12-02 14:16:56 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-03 03:26:31 -0500
commit0df7095205cbf6ea1cdfe6254e0d6a3b823caa3b (patch)
treee7938838aa7ca32588d5d77fdb72f01e5c14ae9a
parent24480d980e9063b3ebd0dfdf2f396c305956c356 (diff)
ARM: SMP: remove IRQ-disabling for smp_cross_call()
As we've now removed the spinlock and bitmask, we have nothing left which requires interrupts to be disabled when sending an IPI. All current IPI-sending implementations use the GIC, which also does not require interrupts disabled when calling gic_raise_softirq(). Remove the now unnecessary IRQ disable. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/smp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index 78d55c681a4f..4878e51561f9 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -383,16 +383,10 @@ void __init smp_prepare_boot_cpu(void)
383 383
384static void send_ipi_message(const struct cpumask *mask, enum ipi_msg_type msg) 384static void send_ipi_message(const struct cpumask *mask, enum ipi_msg_type msg)
385{ 385{
386 unsigned long flags;
387
388 local_irq_save(flags);
389
390 /* 386 /*
391 * Call the platform specific cross-CPU call function. 387 * Call the platform specific cross-CPU call function.
392 */ 388 */
393 smp_cross_call(mask, msg); 389 smp_cross_call(mask, msg);
394
395 local_irq_restore(flags);
396} 390}
397 391
398void arch_send_call_function_ipi_mask(const struct cpumask *mask) 392void arch_send_call_function_ipi_mask(const struct cpumask *mask)