]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[ARM] realview: remove useless smp_cross_call_done()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 17 May 2009 15:23:45 +0000 (16:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 17 May 2009 15:23:45 +0000 (16:23 +0100)
smp_cross_call_done() is a no-op for MPCore, and since it's only
used by platform code, there's no point in having it unless it's
doing something.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/include/mach/smp.h
arch/arm/mach-realview/platsmp.c

index e2ff53402f8c09310f2d507ff987b82a67fd7acd..dd53892d44a7adbaa7758cbb2293e43ee2af1433 100644 (file)
@@ -20,11 +20,4 @@ static inline void smp_cross_call(const struct cpumask *mask)
        gic_raise_softirq(mask, 1);
 }
 
-/*
- * Do nothing on MPcore.
- */
-static inline void smp_cross_call_done(const struct cpumask *mask)
-{
-}
-
 #endif
index a5730466dff5ecbffe1de13e070d320981379eeb..b037fd6c82dc0aa6f54c7eb1df82c66441592850 100644 (file)
@@ -77,13 +77,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
 {
        trace_hardirqs_off();
 
-       /*
-        * the primary core may have used a "cross call" soft interrupt
-        * to get this processor out of WFI in the BootMonitor - make
-        * sure that we are no longer being sent this soft interrupt
-        */
-       smp_cross_call_done(cpumask_of(cpu));
-
        /*
         * if any interrupts are already enabled for the primary
         * core (e.g. timer irq), then they will not have been enabled