From: Russell King Date: Sat, 12 Nov 2005 17:21:47 +0000 (+0000) Subject: [ARM] Restore apparant pointless change in arch/arm/kernel/smp.c X-Git-Tag: v2.6.15-rc2~108^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da2660d2c40496b1699c4de652f6d0cfd13937c0;p=linux-2.6 [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 --- diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index e55ea952f7..373c0959bc 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);