[POWERPC] spufs: sched.c cleanups
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:36:49 +0000 (21:36 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:52:36 +0000 (21:52 +0100)
commit202557d29eae528f464652e92085f3b19b05a0a7
tree15d25a89cf70001bbe4e062b53f5d8ba7d7a5c72
parent81998bafe299b8b675157f0a4dfe8dad43215da9
[POWERPC] spufs: sched.c cleanups

Various cleanups to sched.c that don't change the global control flow:

 - add kerneldoc comments to various functions
 - add spu_ prefixes to various functions
 - add/remove context from the runqueue in bind/unbind_context as
   it's part of the logical operation
 - add a call to put_active_spu to spu_unbind_contex as it's logically
   part of the unbind operation

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