aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/padata.h
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2010-07-27 01:15:06 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2010-07-31 07:53:04 -0400
commit65ff577e6b6e482ee9de3569e058edebdc02f069 (patch)
tree590390375fd44b9c1be49e677a68539883a0463f /include/linux/padata.h
parente6cc11707661770ca2bd4db4b0256d28f48e7541 (diff)
padata: Rearrange set_cpumask functions
padata_set_cpumask needs to be protected by a lock. We make __padata_set_cpumasks unlocked and static. So this function can be used by the exported and locked padata_set_cpumask and padata_set_cpumasks functions. 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h
index 71dfc9d1f856..bb0fc5dd0bbb 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -178,9 +178,9 @@ extern int padata_get_cpumask(struct padata_instance *pinst,
178 int cpumask_type, struct cpumask *out_mask); 178 int cpumask_type, struct cpumask *out_mask);
179extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type, 179extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
180 cpumask_var_t cpumask); 180 cpumask_var_t cpumask);
181extern int __padata_set_cpumasks(struct padata_instance *pinst, 181extern int padata_set_cpumasks(struct padata_instance *pinst,
182 cpumask_var_t pcpumask, 182 cpumask_var_t pcpumask,
183 cpumask_var_t cbcpumask); 183 cpumask_var_t cbcpumask);
184extern int padata_add_cpu(struct padata_instance *pinst, int cpu, int mask); 184extern int padata_add_cpu(struct padata_instance *pinst, int cpu, int mask);
185extern int padata_remove_cpu(struct padata_instance *pinst, int cpu, int mask); 185extern int padata_remove_cpu(struct padata_instance *pinst, int cpu, int mask);
186extern int padata_start(struct padata_instance *pinst); 186extern int padata_start(struct padata_instance *pinst);