From: Yinghai Lu Date: Wed, 30 Jan 2008 12:33:33 +0000 (+0100) Subject: x86: should use array directly for early_ptr X-Git-Tag: v2.6.25-rc1~1143^2~188 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3effef1f3bbc2a63cc79c9eda789642ac06067b3;p=linux-2.6 x86: should use array directly for early_ptr Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index fe47807cac..0d20ed7fb0 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -333,10 +333,10 @@ void __init setup_arch(char **cmdline_p) #ifdef CONFIG_SMP /* setup to use the early static init tables during kernel startup */ - 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_cpu_to_apicid_early_ptr = (void *)x86_cpu_to_apicid_init; + x86_bios_cpu_apicid_early_ptr = (void *)x86_bios_cpu_apicid_init; #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