]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit0887309589824fb1c3744c69a330c99c369124a0
treedf69c7be00e75c240302a37b78964c10419615c9
parent390cbb56a731546edc0f35fbc4c5045676467581
[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