aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/genapic_64.c2
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
28u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata 29u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata
29 = { [0 ... NR_CPUS-1] = BAD_APICID }; 30 = { [0 ... NR_CPUS-1] = BAD_APICID };
30void *x86_cpu_to_apicid_early_ptr; 31void *x86_cpu_to_apicid_early_ptr;
32#endif
31DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; 33DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID;
32EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); 34EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid);
33 35