diff options
author | Christoph Hellwig <hch@lst.de> | 2007-04-23 15:08:17 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 15:18:56 -0400 |
commit | e45d48a34d4d1862d28d22c2533b8c6bb83b8c1f (patch) | |
tree | 55f4ded08f94739beaac92a998aaef2b6c88eb9c /arch/powerpc/platforms/cell/spufs/spufs.h | |
parent | c8a1e9393a86f862ab9c8bc0db9b8a1822226f84 (diff) |
[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 { | |||
60 | 60 | ||
61 | enum { SPU_STATE_RUNNABLE, SPU_STATE_SAVED } state; | 61 | enum { SPU_STATE_RUNNABLE, SPU_STATE_SAVED } state; |
62 | struct mutex state_mutex; | 62 | struct mutex state_mutex; |
63 | struct semaphore run_sema; | 63 | struct mutex run_mutex; |
64 | 64 | ||
65 | struct mm_struct *owner; | 65 | struct mm_struct *owner; |
66 | 66 | ||