[POWERPC] spufs: bind_context sets SPU_STATE_RUNNABLE
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:36:48 +0000 (21:36 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:52:36 +0000 (21:52 +0100)
commit81998bafe299b8b675157f0a4dfe8dad43215da9
tree960ae311b1275650896d7d52c26548049f17c40a
parentaa56c16807ba7b8e801216cab012d2f498755ba5
[POWERPC] spufs: bind_context sets SPU_STATE_RUNNABLE

Only bind_context/unbind_context change the spu context state.  Thus
we can move all assignents of SPU_STATE_RUNNABLE into bind_context,
which parallels the unbind side aswell.

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