[PATCH] spufs fix spu_acquire_runnable error path
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2006 19:31:25 +0000 (20:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:44:40 +0000 (15:44 +1100)
commit0106246594a05f02a6be6ee4695c7584c758fa7f
tree7cdfada54320aef7a2dc7a3e558c0e5259f40c4f
parent5ef8224aaa9220bfecb362f0802cf78aad47c02a
[PATCH] spufs fix spu_acquire_runnable error path

When spu_activate fails in spu_acquire_runnable, the
state must still be SPU_STATE_SAVED, we were
incorrectly setting it to SPU_STATE_RUNNABLE.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/context.c