diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-03 10:00:49 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-20 10:09:09 -0500 |
commit | 2c0136dba4e43b0916ccc9ecc7f11e6d6b73f046 (patch) | |
tree | 11670406e209607ada215377a95ad73de4ca6e09 /arch/arm/mach-realview | |
parent | 05c74a6cbcfb416286a947668ba32f63d99fe74a (diff) |
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')
-rw-r--r-- | arch/arm/mach-realview/platsmp.c | 2 |
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); | |||
53 | 53 | ||
54 | void __cpuinit platform_secondary_init(unsigned int cpu) | 54 | void __cpuinit platform_secondary_init(unsigned int cpu) |
55 | { | 55 | { |
56 | trace_hardirqs_off(); | ||
57 | |||
58 | /* | 56 | /* |
59 | * if any interrupts are already enabled for the primary | 57 | * if any interrupts are already enabled for the primary |
60 | * core (e.g. timer irq), then they will not have been enabled | 58 | * core (e.g. timer irq), then they will not have been enabled |