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)
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>

No differences found