aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-02 21:54:40 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 07:16:24 -0400
commit329513a35d1a2b6b28d54f5c2c0dde4face8200b (patch)
treeef517f954c7dc6e86952e372608bde091b13f803 /arch/x86/kernel/setup.c
parent5f4765f96eebee6a0adc4009758b597ba48a0a3a (diff)
x86: move prefill_possible_map calling early
call it right after we are done with MADT/mptable handling, instead of doing that in setup_per_cpu_areas() later on... this way for_possible_cpu() can be used early. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index f52a6fb9023..cfcfbefee0b 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -818,6 +818,7 @@ void __init setup_arch(char **cmdline_p)
818 get_smp_config(); 818 get_smp_config();
819#endif 819#endif
820 820
821 prefill_possible_map();
821#ifdef CONFIG_X86_64 822#ifdef CONFIG_X86_64
822 init_cpu_to_node(); 823 init_cpu_to_node();
823#endif 824#endif