summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-03-05 01:19:19 +0100
committerRusty Russell <rusty@rustcorp.com.au>2015-03-10 04:24:41 +0100
commit2f0f267ea0720ec6adbe9cf7386450425fac8258 (patch)
treec03a0bf6822f8a1df5afb34e92fab15d63b996a2 /lib/Kconfig
parentmips: fix obsolete cpumask_of_cpu usage. (diff)
downloadlinux-2f0f267ea0720ec6adbe9cf7386450425fac8258.tar.xz
linux-2f0f267ea0720ec6adbe9cf7386450425fac8258.zip
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/Kconfig')
-rw-r--r--lib/Kconfig4
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
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