summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-visws/mpparse.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-05-19 19:47:03 +0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 12:01:25 +0200
commitbab4b27c00c4880737c18bb91138b1a7dd94164c (patch)
tree0a2fc200264e3ca89b4e87679b7fd76f866789c4 /arch/x86/mach-visws/mpparse.c
parentf3918352909f839a7b0dbf9b3f81d2e183c46f88 (diff)
x86: move smp_found_config
Diffstat (limited to 'arch/x86/mach-visws/mpparse.c')
-rw-r--r--arch/x86/mach-visws/mpparse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/mach-visws/mpparse.c b/arch/x86/mach-visws/mpparse.c
index b7d063e7de1..a2fb78c0d15 100644
--- a/arch/x86/mach-visws/mpparse.c
+++ b/arch/x86/mach-visws/mpparse.c
@@ -8,9 +8,6 @@
#include "cobalt.h"
#include "mach_apic.h"
-/* Have we found an MP table */
-int smp_found_config;
-
extern unsigned int __cpuinitdata maxcpus;
/*
@@ -74,7 +71,9 @@ void __init find_smp_config(void)
if (ncpus > maxcpus)
ncpus = maxcpus;
+#ifdef CONFIG_X86_LOCAL_APIC
smp_found_config = 1;
+#endif
while (ncpus--)
MP_processor_info(mp++);