padata: Use get_online_cpus/put_online_cpus in padata_free
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 19 May 2010 03:45:35 +0000 (13:45 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 19 May 2010 03:45:35 +0000 (13:45 +1000)
commit3789ae7dcd29fa146b23dc30377925d1f73c8adf
tree39f4bc70ccbfafa9290f21bc23bbf296d8656538
parent0198ffd135f51d4fbb0c50036395716c06632ed9
padata: Use get_online_cpus/put_online_cpus in padata_free

Add get_online_cpus/put_online_cpus to ensure that no cpu goes
offline during the flushing of the padata percpu queues.

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