projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ef494
)
x86: fix compiling with 64bit with def_to_bigsmp
author
Yinghai Lu
<yinghai@kernel.org>
Fri, 30 Jan 2009 03:30:04 +0000
(19:30 -0800)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 30 Jan 2009 14:21:23 +0000
(15:21 +0100)
only need to do cut off with 32bit
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/smpboot.c
b/arch/x86/kernel/smpboot.c
index 2912fa3a8ef28ba0d1b600763600ba9b2b1c18bf..4c3cff574947203ac58076cc9b8ada088d1114a4 100644
(file)
--- 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
ndef 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;