]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: use cancel_rearming_delayed_workqueue when stopping spu contexts
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Apr 2007 19:08:06 +0000 (21:08 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Mon, 23 Apr 2007 19:18:52 +0000 (21:18 +0200)
commit0941d592d310bf38d34bc96c244127a433128e18
treedf69c7be00e75c240302a37b78964c10419615c9
parentd51fdc7df994dbb02beceb4b72f852c4984f5791
[POWERPC] spufs: use cancel_rearming_delayed_workqueue when stopping spu contexts

The scheduler workqueue may rearm itself and deadlock when we try to stop
it.  Put a flag in place to avoid skip the work if we're tearing down
the context.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/sched.c
arch/powerpc/platforms/cell/spufs/spufs.h