percpu: build first chunk allocators selectively
authorTejun Heo <tj@kernel.org>
Fri, 14 Aug 2009 06:00:49 +0000 (15:00 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 14 Aug 2009 06:00:49 +0000 (15:00 +0900)
commit08fc45806103e59a37418e84719b878f9bb32540
tree8b39b7769fd42457bdb2950ce02d9893f39c0b7d
parent00ae4064b1445524752575dd84df227c0687c99d
percpu: build first chunk allocators selectively

There's no need to build unused first chunk allocators in.  Define
CONFIG_NEED_PER_CPU_*_FIRST_CHUNK and let archs enable them
selectively.

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