diff options
author | Christoph Hellwig <hch@lst.de> | 2007-02-13 23:54:21 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-02-13 23:55:40 +0300 |
commit | 6a0641e51011def4e308fd07387047f5ee50647f (patch) | |
tree | de784f4ec06cabadc80a5689b57bdfb475979473 /arch/powerpc/platforms/cell/spufs/run.c | |
parent | 650f8b0291ecd0abdeadbd0ff3d70c3538e55405 (diff) | |
download | linux-6a0641e51011def4e308fd07387047f5ee50647f.tar.xz |
[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>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/run.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/run.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c index 51b78da2f0d3..e1647311044b 100644 --- a/arch/powerpc/platforms/cell/spufs/run.c +++ b/arch/powerpc/platforms/cell/spufs/run.c @@ -133,7 +133,7 @@ out_drop_priv: spu_mfc_sr1_set(ctx->spu, sr1); out_unlock: - spu_release_exclusive(ctx); + spu_release(ctx); out: return ret; } |