smp/cpumask: Make CONFIG_CPUMASK_OFFSTACK=y usable without debug dependency
authorJosh Boyer <jwboyer@redhat.com>
Mon, 11 Nov 2013 14:08:15 +0000 (09:08 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Nov 2013 23:45:50 +0000 (00:45 +0100)
commit9dd1220114e00d8ec5cdc20085bbe198b21e1985
tree5ece8f214db9b343b23a115fe4280170881504e9
parent9b66bfb28049594fe2bb2b91607ba302f511ce8b
smp/cpumask: Make CONFIG_CPUMASK_OFFSTACK=y usable without debug dependency

When CONFIG_CPUMASK_OFFSTACK was added in 2008, it was dependent upon
CONFIG_DEBUG_PER_CPU_MAPS being enabled, or an architecture could
select it.

The debug dependency adds additional overhead that isn't required
for operation of the feature and which is undesirable for distro
kernels. CONFIG_CPUMASK_OFFSTACK=y is needed to increase the
CONFIG_NR_CPUS value beyond 512 on x86.

So drop the current dependency, its only real dependency is CONFIG_SMP=y.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20131111140815.GB20328@hansolo.jdub.homelinux.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
lib/Kconfig