x86: fix show cpuinfo cpu number always zero

when called by setup_arch) after smp_store_cpu_info() had set it to the
correct value.

The error shows up in 'cat /proc/cpuinfo' will all cpus = 0.

Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Suresh B Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by Mike Travis and committed by Ingo Molnar fbdcf18d 3d054f0f

+1 -1
+1 -1
arch/x86/kernel/smpboot_64.c
··· 141 141 struct cpuinfo_x86 *c = &cpu_data(id); 142 142 143 143 *c = boot_cpu_data; 144 - c->cpu_index = id; 145 144 identify_cpu(c); 145 + c->cpu_index = id; 146 146 print_cpu_info(c); 147 147 } 148 148