padata: Rearrange set_cpumask functions
commit65ff577e6b6e482ee9de3569e058edebdc02f069
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 27 Jul 2010 05:15:06 +0000 (27 07:15 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Jul 2010 11:53:04 +0000 (31 19:53 +0800)
tree590390375fd44b9c1be49e677a68539883a0463f
parente6cc11707661770ca2bd4db4b0256d28f48e7541
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>
include/linux/padata.h
kernel/padata.c