]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite9832b44b388098d72b66b2684b2d68501a9cff0
treeb1223c5c256cdd04395e7d205eea865db18a617a
parent314e0eea23cdce8a5e6771fcb40908418d5428ad
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