aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-visws
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-05-19 11:47:03 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 06:01:25 -0400
commitbab4b27c00c4880737c18bb91138b1a7dd94164c (patch)
tree0a2fc200264e3ca89b4e87679b7fd76f866789c4 /arch/x86/mach-visws
parentf3918352909f839a7b0dbf9b3f81d2e183c46f88 (diff)
x86: move smp_found_config
Diffstat (limited to 'arch/x86/mach-visws')
-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 b7d063e7de1f..a2fb78c0d154 100644
--- a/arch/x86/mach-visws/mpparse.c
+++ b/arch/x86/mach-visws/mpparse.c
@@ -8,9 +8,6 @@
8#include "cobalt.h" 8#include "cobalt.h"
9#include "mach_apic.h" 9#include "mach_apic.h"
10 10
11/* Have we found an MP table */
12int smp_found_config;
13
14extern unsigned int __cpuinitdata maxcpus; 11extern unsigned int __cpuinitdata maxcpus;
15 12
16/* 13/*
@@ -74,7 +71,9 @@ void __init find_smp_config(void)
74 if (ncpus > maxcpus) 71 if (ncpus > maxcpus)
75 ncpus = maxcpus; 72 ncpus = maxcpus;
76 73
74#ifdef CONFIG_X86_LOCAL_APIC
77 smp_found_config = 1; 75 smp_found_config = 1;
76#endif
78 while (ncpus--) 77 while (ncpus--)
79 MP_processor_info(mp++); 78 MP_processor_info(mp++);
80 79