diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-07-27 07:19:27 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-31 19:53:06 +0800 |
commit | 0500e9b3f11ce84fc6ee48a3e29909145e58ba48 (patch) | |
tree | 42b21a89575b6b919c09ef33469143f38cf1a04e /include/linux/padata.h | |
parent | d3f64e46aa21dd86a239274d218ec286461bfa68 (diff) | |
download | linux-0500e9b3f11ce84fc6ee48a3e29909145e58ba48.tar.gz linux-0500e9b3f11ce84fc6ee48a3e29909145e58ba48.tar.bz2 linux-0500e9b3f11ce84fc6ee48a3e29909145e58ba48.zip |
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>
Diffstat (limited to 'include/linux/padata.h')
-rw-r--r-- | include/linux/padata.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h index 43db792f44dd..bdcd1e9eacea 100644 --- a/include/linux/padata.h +++ b/include/linux/padata.h @@ -176,8 +176,6 @@ extern void padata_free(struct padata_instance *pinst); extern int padata_do_parallel(struct padata_instance *pinst, struct padata_priv *padata, int cb_cpu); extern void padata_do_serial(struct padata_priv *padata); -extern int padata_get_cpumask(struct padata_instance *pinst, - int cpumask_type, struct cpumask *out_mask); extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, cpumask_var_t cpumask); extern int padata_set_cpumasks(struct padata_instance *pinst, |