x86: move prefill_possible_map calling early
authorYinghai Lu <yhlu.kernel@gmail.com>
Thu, 3 Jul 2008 01:54:40 +0000 (18:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:24 +0000 (13:16 +0200)
commit329513a35d1a2b6b28d54f5c2c0dde4face8200b
treeef517f954c7dc6e86952e372608bde091b13f803
parent5f4765f96eebee6a0adc4009758b597ba48a0a3a
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>
arch/x86/kernel/setup.c
arch/x86/kernel/setup_percpu.c
arch/x86/kernel/smpboot.c
include/asm-x86/smp.h