]> err.no Git - linux-2.6/commit
x86: fix show cpuinfo cpu number always zero
authorMike Travis <travis@sgi.com>
Wed, 19 Dec 2007 22:20:19 +0000 (23:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 Dec 2007 22:20:19 +0000 (23:20 +0100)
commitfbdcf18df73758b2e187ab94678b30cd5f6ff9f9
treec4908af0cfb6f82f5034a9adfa823bea01e38ff3
parent3d054f0fade192b454592817c16e0f49e3e295dc
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>
arch/x86/kernel/smpboot_64.c