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)
commit0500e9b3f11ce84fc6ee48a3e29909145e58ba48
tree42b21a89575b6b919c09ef33469143f38cf1a04e
parentd3f64e46aa21dd86a239274d218ec286461bfa68
padata: Remove padata_get_cpumask

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