[POWERPC] spufs: state_mutex cleanup
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:54:21 +0000 (21:54 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:55:40 +0000 (21:55 +0100)
commit6a0641e51011def4e308fd07387047f5ee50647f
treede784f4ec06cabadc80a5689b57bdfb475979473
parent650f8b0291ecd0abdeadbd0ff3d70c3538e55405
[POWERPC] spufs: state_mutex cleanup

Various cleanups in code surrounding the state semaphore:

 - inline spu_acquire/spu_release
 - cleanup spu_acquire_* and add kerneldoc comments to these functions
 - remove spu_release_exclusive and replace it with spu_release

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/run.c
arch/powerpc/platforms/cell/spufs/spufs.h