x86: use specialized routine for setup per-cpu area
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:25:23 +0000 (14:25 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:01 +0000 (17:41 +0200)
commit4fe29a85642544503cf81e9cf251ef0f4e65b162
tree1fe0ed2b1e80e7c638fc12e32806e90ba0272516
parentfbac7fcbadc54cc5d374873a2e60e924a056d198
x86: use specialized routine for setup per-cpu area

We use the same routing as x86_64, moved now to setup.c.
Just with a few ifdefs inside.
Note that this routing uses prefill_possible_map().
It has the very nice side effect of allowing hotplugging of
cpus that are marked as present but disabled by acpi bios.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/setup.c [new file with mode: 0644]
arch/x86/kernel/setup64.c
arch/x86/kernel/smpboot_32.c