aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-01-29 15:14:46 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-30 00:20:22 +0100
commit4272ebfbefd0db40073f3ee5990bceaf2894f08b (patch)
treebe8bddaf6a5a549a9aa9108df3515741cc469199 /arch/x86/kernel/smpboot.c
parentx86: unify genapic code, unify subarchitectures, remove old subarchitecture code, xapic fix (diff)
downloadlinux-dev-4272ebfbefd0db40073f3ee5990bceaf2894f08b.tar.xz
linux-dev-4272ebfbefd0db40073f3ee5990bceaf2894f08b.zip
x86: allow more than 8 cpus to be used on 32-bit
X86_PC is the only remaining 'sub' architecture, so we dont need it anymore. This also cleans up a few spurious references to X86_PC in the driver space - those certainly should be X86. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index fc80bc18943e..2912fa3a8ef2 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1000,7 +1000,7 @@ static int __init smp_sanity_check(unsigned max_cpus)
{
preempt_disable();
-#if defined(CONFIG_X86_PC) && defined(CONFIG_X86_32)
+#ifndef CONFIG_X86_BIGSMP
if (def_to_bigsmp && nr_cpu_ids > 8) {
unsigned int cpu;
unsigned nr;