Commit 3effef1f authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

x86: should use array directly for early_ptr

Signed-off-by: default avatarYinghai Lu <yinghai.lu@sun.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent ac629a98
...@@ -333,10 +333,10 @@ void __init setup_arch(char **cmdline_p) ...@@ -333,10 +333,10 @@ void __init setup_arch(char **cmdline_p)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
/* setup to use the early static init tables during kernel startup */ /* setup to use the early static init tables during kernel startup */
x86_cpu_to_apicid_early_ptr = (void *)&x86_cpu_to_apicid_init; x86_cpu_to_apicid_early_ptr = (void *)x86_cpu_to_apicid_init;
x86_bios_cpu_apicid_early_ptr = (void *)&x86_bios_cpu_apicid_init; x86_bios_cpu_apicid_early_ptr = (void *)x86_bios_cpu_apicid_init;
#ifdef CONFIG_NUMA #ifdef CONFIG_NUMA
x86_cpu_to_node_map_early_ptr = (void *)&x86_cpu_to_node_map_init; x86_cpu_to_node_map_early_ptr = (void *)x86_cpu_to_node_map_init;
#endif #endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment