]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spu sched: simplity spu_remove_from_active_list
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:54:25 +0000 (21:54 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:55:41 +0000 (21:55 +0100)
commit0a20bcc3d4e6320521ec214bf2c45e3416eb4681
treee73037d691dfa63a58d8df5c66b08b74d69c324f
parent5eda01e6bccce5ea9993e43247f05c174d15098e
[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