提交 da2660d2 编写于 作者: R Russell King 提交者: Russell King

[ARM] Restore apparant pointless change in arch/arm/kernel/smp.c

Restore smp.c back to how it used to be.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 9648f552
...@@ -256,9 +256,7 @@ void __cpuexit cpu_die(void) ...@@ -256,9 +256,7 @@ void __cpuexit cpu_die(void)
asmlinkage void __cpuinit secondary_start_kernel(void) asmlinkage void __cpuinit secondary_start_kernel(void)
{ {
struct mm_struct *mm = &init_mm; struct mm_struct *mm = &init_mm;
unsigned int cpu; unsigned int cpu = smp_processor_id();
cpu = smp_processor_id();
printk("CPU%u: Booted secondary processor\n", cpu); printk("CPU%u: Booted secondary processor\n", cpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册