summaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/platsmp.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-09 10:50:29 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-09 10:50:29 +0000
commit2a98beb6390aef8fad85103ea25b3b1ace8015b5 (patch)
tree09f3e0de9a49f0f61d7f44c6c03218bf29f5d1dd /arch/arm/mach-realview/platsmp.c
parent37ee16ae93a3e4ae7dd51beb81d249f5f12a55c2 (diff)
downloadkernel-common-2a98beb6390aef8fad85103ea25b3b1ace8015b5.tar.gz
kernel-common-2a98beb6390aef8fad85103ea25b3b1ace8015b5.tar.bz2
kernel-common-2a98beb6390aef8fad85103ea25b3b1ace8015b5.zip
[ARM SMP] Add local timer support for Realview MPcore
Add platform specific parts for local timer support for the Realview board. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/platsmp.c')
-rw-r--r--arch/arm/mach-realview/platsmp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c
index 09b35f62247a..0c7d4ac9a7b3 100644
--- a/arch/arm/mach-realview/platsmp.c
+++ b/arch/arm/mach-realview/platsmp.c
@@ -175,6 +175,11 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
max_cpus = ncores;
/*
+ * Enable the local timer for primary CPU
+ */
+ local_timer_setup(cpu);
+
+ /*
* Initialise the possible/present maps.
* cpu_possible_map describes the set of CPUs which may be present
* cpu_present_map describes the set of CPUs populated