summaryrefslogtreecommitdiffstats
path: root/arch/x86
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
parent36ef4944ee8118491631e317e406f9bd15e20e97 (diff)
downloadblackbird-op-linux-1ff2f20de354a621ef4b56b9cfe6f9139a7e493b.tar.gz
blackbird-op-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')
-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;
OpenPOWER on IntegriCloud