diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-04 19:19:19 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-09 23:24:41 -0400 |
commit | 2f0f267ea0720ec6adbe9cf7386450425fac8258 (patch) | |
tree | c03a0bf6822f8a1df5afb34e92fab15d63b996a2 /lib | |
parent | 1ed1835f5fadf057ab081cbe31ac353d4547a25b (diff) |
cpumask: remove deprecated functions.
Using these functions with offstack cpus is unsafe. They use all NR_CPUS
bits, unstead of nr_cpumask_bits.
In particular, lustre (in staging) used cpus_ and that caused a bug.
Reported-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 87da53bb1fef..47d262b3251e 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -397,10 +397,6 @@ config CPUMASK_OFFSTACK | |||
397 | them on the stack. This is a bit more expensive, but avoids | 397 | them on the stack. This is a bit more expensive, but avoids |
398 | stack overflow. | 398 | stack overflow. |
399 | 399 | ||
400 | config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS | ||
401 | bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS | ||
402 | depends on BROKEN | ||
403 | |||
404 | config CPU_RMAP | 400 | config CPU_RMAP |
405 | bool | 401 | bool |
406 | depends on SMP | 402 | depends on SMP |