padata: Use get_online_cpus/put_online_cpus
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 29 Apr 2010 12:42:30 +0000 (14:42 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 3 May 2010 03:32:12 +0000 (11:32 +0800)
commit6751fb3c0e0cfcc40a1a0acabca97370c9ec6c6b
tree30ab0d2a12715e4c95e1858639b4f540ce45c6b5
parent7b389b2cc539dc2dc60b049240942be54958c93a
padata: Use get_online_cpus/put_online_cpus

This patch puts get_online_cpus/put_online_cpus around the places
we modify the padata cpumask to ensure that no cpu goes offline
during this operation.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c