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-vexpress | |
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-vexpress')
-rw-r--r-- | arch/arm/mach-vexpress/platsmp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-vexpress/platsmp.c b/arch/arm/mach-vexpress/platsmp.c index a0341d14ff2a..d7e0cb994e9d 100644 --- a/arch/arm/mach-vexpress/platsmp.c +++ b/arch/arm/mach-vexpress/platsmp.c | |||
@@ -43,8 +43,6 @@ static DEFINE_SPINLOCK(boot_lock); | |||
43 | 43 | ||
44 | void __cpuinit platform_secondary_init(unsigned int cpu) | 44 | void __cpuinit platform_secondary_init(unsigned int cpu) |
45 | { | 45 | { |
46 | trace_hardirqs_off(); | ||
47 | |||
48 | /* | 46 | /* |
49 | * if any interrupts are already enabled for the primary | 47 | * if any interrupts are already enabled for the primary |
50 | * core (e.g. timer irq), then they will not have been enabled | 48 | * core (e.g. timer irq), then they will not have been enabled |