diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-01-10 23:53:21 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-29 05:15:01 -0500 |
commit | 8a39c520b28f1ffa528baaae6ecfaa3feb5377a5 (patch) | |
tree | fedbbff988de9586f4dd750d4c1dcadb2e3fe900 /arch/mips/lasat/picvue.h | |
parent | f6ed10ab972b00cd57567a2ac9e393226840e458 (diff) |
[MIPS] Lasat: Convert pvc_sem semaphore to mutex
I also changed the name to pvc_mutex, and moved the define to the file
it's used in which allows it to be static.
Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lasat/picvue.h')
-rw-r--r-- | arch/mips/lasat/picvue.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/lasat/picvue.h b/arch/mips/lasat/picvue.h index 2a96bf971897..91df55371127 100644 --- a/arch/mips/lasat/picvue.h +++ b/arch/mips/lasat/picvue.h | |||
@@ -4,8 +4,6 @@ | |||
4 | * Brian Murphy <brian.murphy@eicon.com> | 4 | * Brian Murphy <brian.murphy@eicon.com> |
5 | * | 5 | * |
6 | */ | 6 | */ |
7 | #include <asm/semaphore.h> | ||
8 | |||
9 | struct pvc_defs { | 7 | struct pvc_defs { |
10 | volatile u32 *reg; | 8 | volatile u32 *reg; |
11 | u32 data_shift; | 9 | u32 data_shift; |
@@ -45,4 +43,3 @@ void pvc_move(u8 cmd); | |||
45 | void pvc_clear(void); | 43 | void pvc_clear(void); |
46 | void pvc_home(void); | 44 | void pvc_home(void); |
47 | 45 | ||
48 | extern struct semaphore pvc_sem; | ||