Commit [0500e9] Maximize Restore History

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>

Steffen Klassert Steffen Klassert 2010-07-27

Herbert Xu Herbert Xu 2010-07-31

changed include/linux/padata.h
changed kernel/padata.c
include/linux/padata.h Diff Switch to side-by-side view
Loading...
kernel/padata.c Diff Switch to side-by-side view
Loading...