summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-14 15:00:49 +0900
committerTejun Heo <tj@kernel.org>2009-08-14 15:00:49 +0900
commit08fc45806103e59a37418e84719b878f9bb32540 (patch)
tree8b39b7769fd42457bdb2950ce02d9893f39c0b7d /arch/x86/Kconfig
parent00ae4064b1445524752575dd84df227c0687c99d (diff)
downloadlinux-08fc45806103e59a37418e84719b878f9bb32540.tar.gz
linux-08fc45806103e59a37418e84719b878f9bb32540.tar.bz2
linux-08fc45806103e59a37418e84719b878f9bb32540.zip
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>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e06b2eeff9f2..f7ac27215512 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -150,6 +150,16 @@ config ARCH_HAS_CACHE_LINE_SIZE
config HAVE_SETUP_PER_CPU_AREA
def_bool y
+config NEED_PER_CPU_EMBED_FIRST_CHUNK
+ def_bool y
+
+config NEED_PER_CPU_PAGE_FIRST_CHUNK
+ def_bool y
+
+config NEED_PER_CPU_LPAGE_FIRST_CHUNK
+ def_bool y
+ depends on NEED_MULTIPLE_NODES
+
config HAVE_CPUMASK_OF_CPU_MAP
def_bool X86_64_SMP