summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-05 10:49:19 +1030
committerRusty Russell <rusty@rustcorp.com.au>2015-03-10 13:54:41 +1030
commit2f0f267ea0720ec6adbe9cf7386450425fac8258 (patch)
treec03a0bf6822f8a1df5afb34e92fab15d63b996a2 /lib
parent1ed1835f5fadf057ab081cbe31ac353d4547a25b (diff)
downloadop-kernel-dev-2f0f267ea0720ec6adbe9cf7386450425fac8258.zip
op-kernel-dev-2f0f267ea0720ec6adbe9cf7386450425fac8258.tar.gz
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/Kconfig4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 87da53b..47d262b 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -397,10 +397,6 @@ 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 BROKEN
-
config CPU_RMAP
bool
depends on SMP
OpenPOWER on IntegriCloud