From: Ingo Molnar Date: Tue, 8 Apr 2008 10:20:50 +0000 (+0200) Subject: x86: support for new UV apic, prepare X-Git-Tag: v2.6.26-rc1~1154^2~53 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=570da318cf0e3053e62030253494c410a18d4be7;p=linux-2.6 x86: support for new UV apic, prepare Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c index c873f60c74..4cc1c218ae 100644 --- a/arch/x86/kernel/genapic_64.c +++ b/arch/x86/kernel/genapic_64.c @@ -25,9 +25,11 @@ #endif /* which logical CPU number maps to which CPU (physical APIC ID) */ +#ifdef CONFIG_SMP u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata = { [0 ... NR_CPUS-1] = BAD_APICID }; void *x86_cpu_to_apicid_early_ptr; +#endif DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid);