padata: Remove padata_get_cpumask
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 27 Jul 2010 05:19:27 +0000 (07:19 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Jul 2010 11:53:06 +0000 (19:53 +0800)
A function that copies the padata cpumasks to a user buffer
is a bit error prone. The cpumask can change any time so we
can't be sure to have the right cpumask when using this function.
A user who is interested in the padata cpumasks should register
to the padata cpumask notifier chain instead. Users of
padata_get_cpumask are already updated, so we can remove it.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/padata.h
kernel/padata.c

Simple merge
diff --cc kernel/padata.c
Simple merge