|
@@ -225,6 +225,10 @@ void __init setup_per_cpu_areas(void)
|
|
|
per_cpu(x86_bios_cpu_apicid, cpu) =
|
|
|
early_per_cpu_map(x86_bios_cpu_apicid, cpu);
|
|
|
#endif
|
|
|
+#ifdef CONFIG_X86_32
|
|
|
+ per_cpu(x86_cpu_to_logical_apicid, cpu) =
|
|
|
+ early_per_cpu_map(x86_cpu_to_logical_apicid, cpu);
|
|
|
+#endif
|
|
|
#ifdef CONFIG_X86_64
|
|
|
per_cpu(irq_stack_ptr, cpu) =
|
|
|
per_cpu(irq_stack_union.irq_stack, cpu) +
|
|
@@ -256,6 +260,9 @@ void __init setup_per_cpu_areas(void)
|
|
|
early_per_cpu_ptr(x86_cpu_to_apicid) = NULL;
|
|
|
early_per_cpu_ptr(x86_bios_cpu_apicid) = NULL;
|
|
|
#endif
|
|
|
+#ifdef CONFIG_X86_32
|
|
|
+ early_per_cpu_ptr(x86_cpu_to_logical_apicid) = NULL;
|
|
|
+#endif
|
|
|
#if defined(CONFIG_X86_64) && defined(CONFIG_NUMA)
|
|
|
early_per_cpu_ptr(x86_cpu_to_node_map) = NULL;
|
|
|
#endif
|