]> git.baikalelectronics.ru Git - kernel.git/commit
x86: check bigsmp in smp_sanity_check instead of cpu_up
authorYinghai Lu <yhlu.kernel@gmail.com>
Thu, 14 Aug 2008 09:16:30 +0000 (02:16 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 14 Aug 2008 09:35:53 +0000 (11:35 +0200)
commit101cc9d6919c52f4c35f62c4810cab954322dcba
tree657237a6551ddc58d35fad8f0f998d7dcb090b44
parentd62153d18ef44bccf356a50f7761b6cac5088781
x86: check bigsmp in smp_sanity_check instead of cpu_up

clear bits for cpu nr > 8.

This allows us to boot the full range of possible CPUs that the
supported APIC model will allow. Previously we'd hang or boot up
with less than 8 CPUs.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c