x86: separate out setup_pcpu_4k() from setup_per_cpu_areas()
authorTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 02:57:21 +0000 (11:57 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 24 Feb 2009 02:57:21 +0000 (11:57 +0900)
commit5f5d8405d1c50f5cf7e1dbfe9c9b44e2f015c8fd
tree28cb5db560124643709e76c9ef33e1de25f79591
parent8d408b4be37bc49c9086531f2ebe411cf5731746
x86: separate out setup_pcpu_4k() from setup_per_cpu_areas()

Impact: modularize percpu first chunk allocation

x86 is gonna have a few different strategies for the first chunk
allocation.  Modularize it by separating out the current allocation
mechanism into pcpu_alloc_bootmem() and setup_pcpu_4k().

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/kernel/setup_percpu.c