percpu: generalize embedding first chunk setup helper
authorTejun Heo <tj@kernel.org>
Tue, 10 Mar 2009 07:27:48 +0000 (16:27 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 10 Mar 2009 07:27:48 +0000 (16:27 +0900)
commit66c3a75772247c31feabefb724e082220a1ab060
tree5e61a0e44c82474729e81007edc2093d37fffe95
parent6074d5b0a319fe8400ff079a3c289406ca024321
percpu: generalize embedding first chunk setup helper

Impact: code reorganization

Separate out embedding first chunk setup helper from x86 embedding
first chunk allocator and put it in mm/percpu.c.  This will be used by
the default percpu first chunk allocator and possibly by other archs.

Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/kernel/setup_percpu.c
include/linux/percpu.h
mm/percpu.c