diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2008-01-30 07:33:33 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:33 -0500 |
commit | 3effef1f3bbc2a63cc79c9eda789642ac06067b3 (patch) | |
tree | a71d120ea7912cc56ba8d51e6f534ef7c0cc0670 /arch/x86/kernel | |
parent | ac629a98bf98bfe66bf0a674b22be3474ee6a9a4 (diff) |
x86: should use array directly for early_ptr
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 6 |
1 files 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) | |||
333 | 333 | ||
334 | #ifdef CONFIG_SMP | 334 | #ifdef CONFIG_SMP |
335 | /* setup to use the early static init tables during kernel startup */ | 335 | /* setup to use the early static init tables during kernel startup */ |
336 | x86_cpu_to_apicid_early_ptr = (void *)&x86_cpu_to_apicid_init; | 336 | x86_cpu_to_apicid_early_ptr = (void *)x86_cpu_to_apicid_init; |
337 | x86_bios_cpu_apicid_early_ptr = (void *)&x86_bios_cpu_apicid_init; | 337 | x86_bios_cpu_apicid_early_ptr = (void *)x86_bios_cpu_apicid_init; |
338 | #ifdef CONFIG_NUMA | 338 | #ifdef CONFIG_NUMA |
339 | x86_cpu_to_node_map_early_ptr = (void *)&x86_cpu_to_node_map_init; | 339 | x86_cpu_to_node_map_early_ptr = (void *)x86_cpu_to_node_map_init; |
340 | #endif | 340 | #endif |
341 | #endif | 341 | #endif |
342 | 342 | ||