x86: fix early panic with boot option "nosmp"
authorAndi Kleen <andi@firstfloor.org>
Thu, 4 Dec 2008 12:33:35 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 15:33:51 +0000 (16:33 +0100)
commit9adc13867ec5fe0cd35434f92954d90e42381f0b
treeb1223c5c256cdd04395e7d205eea865db18a617a
parent66a05d6b47a299b6bdeb645bc2d536109cd800b4
x86: fix early panic with boot option "nosmp"

Impact: fix boot crash with numcpus=0 on certain systems

Fix early exception in __get_smp_config with nosmp.

Bail out early when there is no MP table.

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Tested-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse.c