diff options
Diffstat (limited to 'arch/arm/mach-realview/platsmp.c')
| -rw-r--r-- | arch/arm/mach-realview/platsmp.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index ea3c75595fa9..30a9c68591f6 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
| @@ -78,13 +78,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu) | |||
| 78 | trace_hardirqs_off(); | 78 | trace_hardirqs_off(); |
| 79 | 79 | ||
| 80 | /* | 80 | /* |
| 81 | * the primary core may have used a "cross call" soft interrupt | ||
| 82 | * to get this processor out of WFI in the BootMonitor - make | ||
| 83 | * sure that we are no longer being sent this soft interrupt | ||
| 84 | */ | ||
| 85 | smp_cross_call_done(cpumask_of_cpu(cpu)); | ||
| 86 | |||
| 87 | /* | ||
| 88 | * if any interrupts are already enabled for the primary | 81 | * if any interrupts are already enabled for the primary |
| 89 | * core (e.g. timer irq), then they will not have been enabled | 82 | * core (e.g. timer irq), then they will not have been enabled |
| 90 | * for us: do so | 83 | * for us: do so |
| @@ -136,7 +129,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) | |||
| 136 | * Use smp_cross_call() for this, since there's little | 129 | * Use smp_cross_call() for this, since there's little |
| 137 | * point duplicating the code here | 130 | * point duplicating the code here |
| 138 | */ | 131 | */ |
| 139 | smp_cross_call(cpumask_of_cpu(cpu)); | 132 | smp_cross_call(cpumask_of(cpu)); |
| 140 | 133 | ||
| 141 | timeout = jiffies + (1 * HZ); | 134 | timeout = jiffies + (1 * HZ); |
| 142 | while (time_before(jiffies, timeout)) { | 135 | while (time_before(jiffies, timeout)) { |
| @@ -224,11 +217,9 @@ void __init smp_prepare_cpus(unsigned int max_cpus) | |||
| 224 | if (max_cpus > ncores) | 217 | if (max_cpus > ncores) |
| 225 | max_cpus = ncores; | 218 | max_cpus = ncores; |
| 226 | 219 | ||
| 227 | #ifdef CONFIG_LOCAL_TIMERS | 220 | #if defined(CONFIG_LOCAL_TIMERS) || defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST) |
| 228 | /* | 221 | /* |
| 229 | * Enable the local timer for primary CPU. If the device is | 222 | * Enable the local timer or broadcast device for the boot CPU. |
| 230 | * dummy (!CONFIG_LOCAL_TIMERS), it was already registers in | ||
| 231 | * realview_timer_init | ||
| 232 | */ | 223 | */ |
| 233 | local_timer_setup(); | 224 | local_timer_setup(); |
| 234 | #endif | 225 | #endif |
