aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-04-04 15:40:54 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:34 -0400
commit708650afe98a50d0b280bea9dcf5f160b94ee9fb (patch)
tree0938a39bebe4896da83bc0837fdd2ef46d8911ea /arch/x86/kernel/smpboot.c
parent0fc0906e59df1427d194b78376d15ca48079f6bf (diff)
x86: move x86_cpu_to_apicid_init to smpboot.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 7e6aa1c790a2..e3ea074ba6a4 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -72,12 +72,13 @@
72 * integrate apic between arches, we can probably do a better job, but 72 * integrate apic between arches, we can probably do a better job, but
73 * right now, they'll stay here -- glommer 73 * right now, they'll stay here -- glommer
74 */ 74 */
75#ifdef CONFIG_X86_32 75
76/* which logical CPU number maps to which CPU (physical APIC ID) */ 76/* which logical CPU number maps to which CPU (physical APIC ID) */
77u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata = 77u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata =
78 { [0 ... NR_CPUS-1] = BAD_APICID }; 78 { [0 ... NR_CPUS-1] = BAD_APICID };
79void *x86_cpu_to_apicid_early_ptr; 79void *x86_cpu_to_apicid_early_ptr;
80 80
81#ifdef CONFIG_X86_32
81u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata 82u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
82 = { [0 ... NR_CPUS-1] = BAD_APICID }; 83 = { [0 ... NR_CPUS-1] = BAD_APICID };
83void *x86_bios_cpu_apicid_early_ptr; 84void *x86_bios_cpu_apicid_early_ptr;