diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-04-08 06:20:50 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:33 -0400 |
commit | 570da318cf0e3053e62030253494c410a18d4be7 (patch) | |
tree | 897b9cb24456eed4b15c1b9db62be5e58891171f /arch/x86/kernel/genapic_64.c | |
parent | 8400def8252f90ecd056657c0bac806afadd8511 (diff) |
x86: support for new UV apic, prepare
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_64.c')
-rw-r--r-- | arch/x86/kernel/genapic_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c index c873f60c74a6..4cc1c218ae4c 100644 --- a/arch/x86/kernel/genapic_64.c +++ b/arch/x86/kernel/genapic_64.c | |||
@@ -25,9 +25,11 @@ | |||
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | /* which logical CPU number maps to which CPU (physical APIC ID) */ | 27 | /* which logical CPU number maps to which CPU (physical APIC ID) */ |
28 | #ifdef CONFIG_SMP | ||
28 | u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata | 29 | u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata |
29 | = { [0 ... NR_CPUS-1] = BAD_APICID }; | 30 | = { [0 ... NR_CPUS-1] = BAD_APICID }; |
30 | void *x86_cpu_to_apicid_early_ptr; | 31 | void *x86_cpu_to_apicid_early_ptr; |
32 | #endif | ||
31 | DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; | 33 | DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; |
32 | EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); | 34 | EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); |
33 | 35 | ||