]> git.baikalelectronics.ru Git - kernel.git/commit
cpumask: remove deprecated functions.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Mar 2015 00:19:19 +0000 (10:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 10 Mar 2015 03:24:41 +0000 (13:54 +1030)
commit4e86183a43d569dcbf140ad2fd0ba67c45d55f4c
treec03a0bf6822f8a1df5afb34e92fab15d63b996a2
parent24536498112b157cdeed3e1c19bc458e2aa655fc
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>
include/linux/cpumask.h
lib/Kconfig