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-tegra/platsmp.c | |
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-tegra/platsmp.c')
-rw-r--r-- | arch/arm/mach-tegra/platsmp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index b66a0c2d990d..c729cd72cc3b 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c | |||
@@ -40,8 +40,6 @@ static void __iomem *scu_base = IO_ADDRESS(TEGRA_ARM_PERIF_BASE); | |||
40 | 40 | ||
41 | void __cpuinit platform_secondary_init(unsigned int cpu) | 41 | void __cpuinit platform_secondary_init(unsigned int cpu) |
42 | { | 42 | { |
43 | trace_hardirqs_off(); | ||
44 | |||
45 | /* | 43 | /* |
46 | * if any interrupts are already enabled for the primary | 44 | * if any interrupts are already enabled for the primary |
47 | * core (e.g. timer irq), then they will not have been enabled | 45 | * core (e.g. timer irq), then they will not have been enabled |