|
@@ -125,8 +125,10 @@ void __init setup_per_cpu_areas(void)
|
|
}
|
|
}
|
|
|
|
|
|
/* indicate the early static arrays will soon be gone */
|
|
/* indicate the early static arrays will soon be gone */
|
|
|
|
+#ifdef CONFIG_X86_LOCAL_APIC
|
|
early_per_cpu_ptr(x86_cpu_to_apicid) = NULL;
|
|
early_per_cpu_ptr(x86_cpu_to_apicid) = NULL;
|
|
early_per_cpu_ptr(x86_bios_cpu_apicid) = NULL;
|
|
early_per_cpu_ptr(x86_bios_cpu_apicid) = NULL;
|
|
|
|
+#endif
|
|
#if defined(CONFIG_X86_64) && defined(CONFIG_NUMA)
|
|
#if defined(CONFIG_X86_64) && defined(CONFIG_NUMA)
|
|
early_per_cpu_ptr(x86_cpu_to_node_map) = NULL;
|
|
early_per_cpu_ptr(x86_cpu_to_node_map) = NULL;
|
|
#endif
|
|
#endif
|