x86: change GET_APIC_ID() from an inline function to an out-of-line function
[deliverable/linux.git] / arch / x86 / kernel / genapic_64.c
index 4ae03e3e829441a27ed27decdd8905acf9b18411..4ae7b64402602d98eae00f1f85b2fda1ba847cd1 100644 (file)
 #endif
 
 /* which logical CPU number maps to which CPU (physical APIC ID) */
-u8 x86_cpu_to_apicid[NR_CPUS] __read_mostly
+u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata
                                        = { [0 ... NR_CPUS-1] = BAD_APICID };
-EXPORT_SYMBOL(x86_cpu_to_apicid);
+void *x86_cpu_to_apicid_early_ptr;
+DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID;
+EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid);
 
 struct genapic __read_mostly *genapic = &apic_flat;
 
This page took 0.032507 seconds and 5 git commands to generate.