x86: move smp_found_config
[sfrench/cifs-2.6.git] / arch / x86 / mach-visws / mpparse.c
index b7d063e7de1f8ba27f0ea71d939f371b4db9b89e..a2fb78c0d154ef19f1fbb58874840ae5bab8b5ca 100644 (file)
@@ -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++);