diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 00:42:30 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-01-01 00:42:30 +0100 |
commit | 8c384cdee3e04d6194a2c2b192b624754f990835 (patch) | |
tree | 3a9bd2e7ce02cd5e739c521e073467a3b201198d /lib/Kconfig | |
parent | cpumask: zero extra bits in alloc_cpumask_var_node (diff) | |
download | linux-8c384cdee3e04d6194a2c2b192b624754f990835.tar.xz linux-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 '')
-rw-r--r-- | lib/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index fc5f5ee50bc2..03c2c24b9083 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 |