aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-08-14 02:00:49 -0400
committerTejun Heo <tj@kernel.org>2009-08-14 02:00:49 -0400
commit08fc45806103e59a37418e84719b878f9bb32540 (patch)
tree8b39b7769fd42457bdb2950ce02d9893f39c0b7d /arch/x86/Kconfig
parent00ae4064b1445524752575dd84df227c0687c99d (diff)
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
150config HAVE_SETUP_PER_CPU_AREA 150config HAVE_SETUP_PER_CPU_AREA
151 def_bool y 151 def_bool y
152 152
153config NEED_PER_CPU_EMBED_FIRST_CHUNK
154 def_bool y
155
156config NEED_PER_CPU_PAGE_FIRST_CHUNK
157 def_bool y
158
159config NEED_PER_CPU_LPAGE_FIRST_CHUNK
160 def_bool y
161 depends on NEED_MULTIPLE_NODES
162
153config HAVE_CPUMASK_OF_CPU_MAP 163config HAVE_CPUMASK_OF_CPU_MAP
154 def_bool X86_64_SMP 164 def_bool X86_64_SMP
155 165