mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00:00
[ARM] realview: remove useless smp_cross_call_done()
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>
This commit is contained in:
parent
826681043d
commit
78d236c2b3
2 changed files with 0 additions and 14 deletions
|
@ -20,11 +20,4 @@ static inline void smp_cross_call(const struct cpumask *mask)
|
||||||
gic_raise_softirq(mask, 1);
|
gic_raise_softirq(mask, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Do nothing on MPcore.
|
|
||||||
*/
|
|
||||||
static inline void smp_cross_call_done(const struct cpumask *mask)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -77,13 +77,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
|
||||||
{
|
{
|
||||||
trace_hardirqs_off();
|
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
|
* if any interrupts are already enabled for the primary
|
||||||
* core (e.g. timer irq), then they will not have been enabled
|
* core (e.g. timer irq), then they will not have been enabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue