]> bbs.cooldavid.org Git - net-next-2.6.git/commit
padata: Block until the instance is unused on stop
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 7 Jul 2010 13:30:47 +0000 (15:30 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Jul 2010 12:29:29 +0000 (20:29 +0800)
commitee836555120140f770005b8ce6673c913d1b9a98
tree73f62f460c8b18997a76cf38e7f5021086558c56
parent4c879170296174bde05cd1c643dac16594edee77
padata: Block until the instance is unused on stop

This patch makes padata_stop to block until the padata
instance is unused. Also we split padata_stop to a locked
and a unlocked version. This is in preparation to be able
to change the cpumask after a call to patata stop.

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