summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-11-12 18:21:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-11-12 18:21:47 +0100
commitda2660d2c40496b1699c4de652f6d0cfd13937c0 (patch)
tree166088d0292c9f27d5d49eb0131cef34d605e2c4 /arch/arm/kernel/smp.c
parent[ARM] Fix broken sl82c105 DMA prevention (diff)
downloadlinux-da2660d2c40496b1699c4de652f6d0cfd13937c0.tar.xz
linux-da2660d2c40496b1699c4de652f6d0cfd13937c0.zip
[ARM] Restore apparant pointless change in arch/arm/kernel/smp.c
Restore smp.c back to how it used to be. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r--arch/arm/kernel/smp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c
index e55ea952f7aa..373c0959bc2f 100644
--- a/arch/arm/kernel/smp.c
+++ b/arch/arm/kernel/smp.c
@@ -256,9 +256,7 @@ void __cpuexit cpu_die(void)
asmlinkage void __cpuinit secondary_start_kernel(void)
{
struct mm_struct *mm = &init_mm;
- unsigned int cpu;
-
- cpu = smp_processor_id();
+ unsigned int cpu = smp_processor_id();
printk("CPU%u: Booted secondary processor\n", cpu);