diff options
Diffstat (limited to 'arch/arm/mach-realview/platsmp.c')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c index fce3596f9950..bb5eaa48520d 100644 --- a/arch/arm/mach-realview/platsmp.c +++ b/arch/arm/mach-realview/platsmp.c | |||
@@ -187,10 +187,14 @@ void __init smp_prepare_cpus(unsigned int max_cpus) | |||
187 | if (max_cpus > ncores) | 187 | if (max_cpus > ncores) |
188 | max_cpus = ncores; | 188 | max_cpus = ncores; |
189 | 189 | ||
190 | #ifdef CONFIG_LOCAL_TIMERS | ||
190 | /* | 191 | /* |
191 | * Enable the local timer for primary CPU | 192 | * Enable the local timer for primary CPU. If the device is |
193 | * dummy (!CONFIG_LOCAL_TIMERS), it was already registers in | ||
194 | * realview_timer_init | ||
192 | */ | 195 | */ |
193 | local_timer_setup(cpu); | 196 | local_timer_setup(cpu); |
197 | #endif | ||
194 | 198 | ||
195 | /* | 199 | /* |
196 | * Initialise the present map, which describes the set of CPUs | 200 | * Initialise the present map, which describes the set of CPUs |