summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-01-29 19:30:04 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-30 15:21:23 +0100
commit1ff2f20de354a621ef4b56b9cfe6f9139a7e493b (patch)
tree6d4dbd9dee875de54bb9ce4c0494cfd43c2b66af /arch/x86/kernel/smpboot.c
parent36ef4944ee8118491631e317e406f9bd15e20e97 (diff)
downloadlinux-1ff2f20de354a621ef4b56b9cfe6f9139a7e493b.tar.gz
linux-1ff2f20de354a621ef4b56b9cfe6f9139a7e493b.tar.bz2
linux-1ff2f20de354a621ef4b56b9cfe6f9139a7e493b.zip
x86: fix compiling with 64bit with def_to_bigsmp
only need to do cut off with 32bit 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 2912fa3a8ef2..4c3cff574947 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();
-#ifndef CONFIG_X86_BIGSMP
+#if !defined(CONFIG_X86_BIGSMP) && defined(CONFIG_X86_32)
if (def_to_bigsmp && nr_cpu_ids > 8) {
unsigned int cpu;
unsigned nr;