summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-01-01 10:12:30 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-01-01 10:12:30 +1030
commit8c384cdee3e04d6194a2c2b192b624754f990835 (patch)
tree3a9bd2e7ce02cd5e739c521e073467a3b201198d /lib/Kconfig
parent2a53008033189ed09bfe241c6b33811ba4ce980d (diff)
downloadlinux-3.10-8c384cdee3e04d6194a2c2b192b624754f990835.tar.gz
linux-3.10-8c384cdee3e04d6194a2c2b192b624754f990835.tar.bz2
linux-3.10-8c384cdee3e04d6194a2c2b192b624754f990835.zip
cpumask: CONFIG_DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
Impact: new debug CONFIG options This helps find unconverted code. It currently breaks compile horribly, but we never wanted a flag day so that's expected. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index fc5f5ee50bc..03c2c24b908 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -170,4 +170,8 @@ config CPUMASK_OFFSTACK
them on the stack. This is a bit more expensive, but avoids
stack overflow.
+config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
+ bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
+ depends on EXPERIMENTAL && BROKEN
+
endmenu