[POWERPC] spu sched: simplity spu_remove_from_active_list
commit678b2ff1e65ecccdb15cbfe97081572fc35944b7
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:54:25 +0000 (13 21:54 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:55:41 +0000 (13 21:55 +0100)
treee73037d691dfa63a58d8df5c66b08b74d69c324f
parent26bec67386dbf6ef887254e815398842e182cdcd
[POWERPC] spu sched: simplity spu_remove_from_active_list

If we call spu_remove_from_active_list that spu is always guaranteed
to be on the active list and in runnable state, so we can simply
do a list_del to remove it and unconditionally take the was_active
codepath.

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