diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 18:42:30 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-31 18:42:30 -0500 |
commit | 8c384cdee3e04d6194a2c2b192b624754f990835 (patch) | |
tree | 3a9bd2e7ce02cd5e739c521e073467a3b201198d /lib | |
parent | 2a53008033189ed09bfe241c6b33811ba4ce980d (diff) |
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')
-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 | |||
170 | them on the stack. This is a bit more expensive, but avoids | 170 | them on the stack. This is a bit more expensive, but avoids |
171 | stack overflow. | 171 | stack overflow. |
172 | 172 | ||
173 | config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS | ||
174 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS | ||
175 | depends on EXPERIMENTAL && BROKEN | ||
176 | |||
173 | endmenu | 177 | endmenu |