aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/visws_quirks.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-20 05:52:15 -0400
committerIngo Molnar <mingo@elte.hu>2008-08-20 05:52:15 -0400
commit7393423dd9b5790a3115873be355e9fc862bce8f (patch)
treefc83214602c8ce41dc06d5c8e21deada679521f7 /arch/x86/kernel/visws_quirks.c
parent8df9676d6402563da91427e8d9f2da8a4598aede (diff)
parent1fca25427482387689fa27594c992a961d98768f (diff)
Merge branch 'linus' into x86/cleanups
Diffstat (limited to 'arch/x86/kernel/visws_quirks.c')
-rw-r--r--arch/x86/kernel/visws_quirks.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/visws_quirks.c b/arch/x86/kernel/visws_quirks.c
index 3059eb45a915..61a97e616f70 100644
--- a/arch/x86/kernel/visws_quirks.c
+++ b/arch/x86/kernel/visws_quirks.c
@@ -170,8 +170,6 @@ static int __init visws_get_smp_config(unsigned int early)
170 return 1; 170 return 1;
171} 171}
172 172
173extern unsigned int __cpuinitdata maxcpus;
174
175/* 173/*
176 * The Visual Workstation is Intel MP compliant in the hardware 174 * The Visual Workstation is Intel MP compliant in the hardware
177 * sense, but it doesn't have a BIOS(-configuration table). 175 * sense, but it doesn't have a BIOS(-configuration table).
@@ -230,8 +228,8 @@ static int __init visws_find_smp_config(unsigned int reserve)
230 ncpus = CO_CPU_MAX; 228 ncpus = CO_CPU_MAX;
231 } 229 }
232 230
233 if (ncpus > maxcpus) 231 if (ncpus > setup_max_cpus)
234 ncpus = maxcpus; 232 ncpus = setup_max_cpus;
235 233
236#ifdef CONFIG_X86_LOCAL_APIC 234#ifdef CONFIG_X86_LOCAL_APIC
237 smp_found_config = 1; 235 smp_found_config = 1;