From 3effef1f3bbc2a63cc79c9eda789642ac06067b3 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Wed, 30 Jan 2008 13:33:33 +0100 Subject: [PATCH] x86: should use array directly for early_ptr Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- arch/x86/kernel/setup_64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index fe47807cac00..0d20ed7fb097 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 -- 2.30.2