Skip to content

Commit

Permalink
ARM: SMP: remove IRQ-disabling for smp_cross_call()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Dec 3, 2010
1 parent 24480d9 commit 0df7095
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,16 +383,10 @@ void __init smp_prepare_boot_cpu(void)

static void send_ipi_message(const struct cpumask *mask, enum ipi_msg_type msg)
{
unsigned long flags;

local_irq_save(flags);

/*
* Call the platform specific cross-CPU call function.
*/
smp_cross_call(mask, msg);

local_irq_restore(flags);
}

void arch_send_call_function_ipi_mask(const struct cpumask *mask)
Expand Down

0 comments on commit 0df7095

Please sign in to comment.