summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/platsmp.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-12-03 16:00:49 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 16:09:09 +0100
commit2c0136dba4e43b0916ccc9ecc7f11e6d6b73f046 (patch)
tree11670406e209607ada215377a95ad73de4ca6e09 /arch/arm/mach-realview/platsmp.c
parentARM: SMP: consolidate the common parts of smp_prepare_cpus() (diff)
downloadlinux-2c0136dba4e43b0916ccc9ecc7f11e6d6b73f046.tar.xz
linux-2c0136dba4e43b0916ccc9ecc7f11e6d6b73f046.zip
ARM: SMP: consolidate trace_hardirqs_off() into common SMP code
All platforms call trace_hardirqs_off() in their secondary startup code, so move this into the core SMP code - it doesn't need to be in the per-platform code. 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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c
index 380562cd6580..226c63102a00 100644
--- a/arch/arm/mach-realview/platsmp.c
+++ b/arch/arm/mach-realview/platsmp.c
@@ -53,8 +53,6 @@ static DEFINE_SPINLOCK(boot_lock);
void __cpuinit platform_secondary_init(unsigned int cpu)
{
- trace_hardirqs_off();
-
/*
* if any interrupts are already enabled for the primary
* core (e.g. timer irq), then they will not have been enabled