aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-01-29 22:30:04 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-30 09:21:23 -0500
commit1ff2f20de354a621ef4b56b9cfe6f9139a7e493b (patch)
tree6d4dbd9dee875de54bb9ce4c0494cfd43c2b66af /arch/x86/kernel/smpboot.c
parent36ef4944ee8118491631e317e406f9bd15e20e97 (diff)
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 2912fa3a8ef..4c3cff57494 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)
1000{ 1000{
1001 preempt_disable(); 1001 preempt_disable();
1002 1002
1003#ifndef CONFIG_X86_BIGSMP 1003#if !defined(CONFIG_X86_BIGSMP) && defined(CONFIG_X86_32)
1004 if (def_to_bigsmp && nr_cpu_ids > 8) { 1004 if (def_to_bigsmp && nr_cpu_ids > 8) {
1005 unsigned int cpu; 1005 unsigned int cpu;
1006 unsigned nr; 1006 unsigned nr;