aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-12-03 10:00:49 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 10:09:09 -0500
commit2c0136dba4e43b0916ccc9ecc7f11e6d6b73f046 (patch)
tree11670406e209607ada215377a95ad73de4ca6e09 /arch/arm/kernel
parent05c74a6cbcfb416286a947668ba32f63d99fe74a (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/kernel')
-rw-r--r--arch/arm/kernel/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index c66f2d3f65d3..a30c4094db3a 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -317,6 +317,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
317 317
318 cpu_init(); 318 cpu_init();
319 preempt_disable(); 319 preempt_disable();
320 trace_hardirqs_off();
320 321
321 /* 322 /*
322 * Give the platform a chance to do its own initialisation. 323 * Give the platform a chance to do its own initialisation.