aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse_32.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-04-04 15:41:44 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:35 -0400
commit2fe60147570231cde0d1f14711d2e34ccdf54b65 (patch)
tree83c1e87d9ce3475b68c97f51f95be0467c83a61d /arch/x86/kernel/mpparse_32.c
parent350bae1d3f0d0c763c5bb9cc5fb5c363bd0086db (diff)
x86: move up & smp variables to setup.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse_32.c')
-rw-r--r--arch/x86/kernel/mpparse_32.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index 2b16e5c71a64..ed4b3bc0e97a 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -49,15 +49,6 @@ static int mp_current_pci_id;
49 49
50int pic_mode; 50int pic_mode;
51 51
52/* Make it easy to share the UP and SMP code: */
53#ifndef CONFIG_X86_SMP
54unsigned int num_processors;
55unsigned disabled_cpus __cpuinitdata;
56#ifndef CONFIG_X86_LOCAL_APIC
57unsigned int boot_cpu_physical_apicid = -1U;
58#endif
59#endif
60
61/* 52/*
62 * Intel MP BIOS table parsing routines: 53 * Intel MP BIOS table parsing routines:
63 */ 54 */
@@ -93,9 +84,7 @@ static void __cpuinit MP_processor_info(struct mpc_config_processor *m)
93 int apicid; 84 int apicid;
94 85
95 if (!(m->mpc_cpuflag & CPU_ENABLED)) { 86 if (!(m->mpc_cpuflag & CPU_ENABLED)) {
96#ifdef CONFIG_X86_SMP
97 disabled_cpus++; 87 disabled_cpus++;
98#endif
99 return; 88 return;
100 } 89 }
101 90
@@ -817,9 +806,7 @@ void __cpuinit mp_register_lapic (int id, u8 enabled)
817 } 806 }
818 807
819 if (!enabled) { 808 if (!enabled) {
820#ifdef CONFIG_X86_SMP
821 ++disabled_cpus; 809 ++disabled_cpus;
822#endif
823 return; 810 return;
824 } 811 }
825 812