OpenCloudOS-Kernel/arch
Tejun Heo d4b95f8039 x86,percpu: generalize 4k first chunk allocator
Generalize and move x86 setup_pcpu_4k() into pcpu_4k_first_chunk().
setup_pcpu_4k() now is a simple wrapper around the generalized
version.  Other than taking size parameters and using arch supplied
callbacks to allocate/free memory, pcpu_4k_first_chunk() is identical
to the original implementation.

This simplifies arch code and will help converting more archs to
dynamic percpu allocator.

While at it, s/pcpu_populate_pte_fn_t/pcpu_fc_populate_pte_fn_t/ for
consistency.

[ Impact: code reorganization and generalization ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
2009-07-04 08:10:59 +09:00
..
alpha alpha: fix percpu build breakage 2009-06-30 18:55:59 -07:00
arm Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
avr32 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
blackfin Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
cris Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
frv Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
h8300 Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
ia64 Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
m32r linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m68k linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m68knommu linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
microblaze linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
mips Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
mn10300 Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
parisc linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
powerpc Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
s390 Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
sh Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
sparc Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
um Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
x86 x86,percpu: generalize 4k first chunk allocator 2009-07-04 08:10:59 +09:00
xtensa Merge branch 'master' into for-next 2009-07-04 07:13:18 +09:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00