diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-07-27 01:19:27 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2010-07-31 07:53:06 -0400 |
commit | 0500e9b3f11ce84fc6ee48a3e29909145e58ba48 (patch) | |
tree | 42b21a89575b6b919c09ef33469143f38cf1a04e /include/linux/padata.h | |
parent | d3f64e46aa21dd86a239274d218ec286461bfa68 (diff) |
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); | |||
176 | extern int padata_do_parallel(struct padata_instance *pinst, | 176 | extern int padata_do_parallel(struct padata_instance *pinst, |
177 | struct padata_priv *padata, int cb_cpu); | 177 | struct padata_priv *padata, int cb_cpu); |
178 | extern void padata_do_serial(struct padata_priv *padata); | 178 | extern void padata_do_serial(struct padata_priv *padata); |
179 | extern int padata_get_cpumask(struct padata_instance *pinst, | ||
180 | int cpumask_type, struct cpumask *out_mask); | ||
181 | extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, | 179 | extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, |
182 | cpumask_var_t cpumask); | 180 | cpumask_var_t cpumask); |
183 | extern int padata_set_cpumasks(struct padata_instance *pinst, | 181 | extern int padata_set_cpumasks(struct padata_instance *pinst, |