diff options
author | Christoph Hellwig <hch@lst.de> | 2007-04-23 21:08:17 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 21:18:56 +0200 |
commit | e45d48a34d4d1862d28d22c2533b8c6bb83b8c1f (patch) | |
tree | 55f4ded08f94739beaac92a998aaef2b6c88eb9c /arch/powerpc/platforms/cell/spufs/spufs.h | |
parent | c8a1e9393a86f862ab9c8bc0db9b8a1822226f84 (diff) | |
download | blackbird-op-linux-e45d48a34d4d1862d28d22c2533b8c6bb83b8c1f.tar.gz blackbird-op-linux-e45d48a34d4d1862d28d22c2533b8c6bb83b8c1f.zip |
[POWERPC] spufs: turn run_sema into run_mutex
There is no reason for run_sema to be a struct semaphore. Changing
it to a mutex and rename it accordingly.
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/spufs.h')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index 9993c9b3cffc..dd5fc6494ecf 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h @@ -60,7 +60,7 @@ struct spu_context { enum { SPU_STATE_RUNNABLE, SPU_STATE_SAVED } state; struct mutex state_mutex; - struct semaphore run_sema; + struct mutex run_mutex; struct mm_struct *owner; |