diff options
Diffstat (limited to 'include/asm-arm/spinlock.h')
-rw-r--r-- | include/asm-arm/spinlock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-arm/spinlock.h b/include/asm-arm/spinlock.h index cb4906b45555..6ed4f916b166 100644 --- a/include/asm-arm/spinlock.h +++ b/include/asm-arm/spinlock.h | |||
@@ -80,7 +80,7 @@ static inline void __raw_spin_unlock(raw_spinlock_t *lock) | |||
80 | */ | 80 | */ |
81 | #define rwlock_is_locked(x) (*((volatile unsigned int *)(x)) != 0) | 81 | #define rwlock_is_locked(x) (*((volatile unsigned int *)(x)) != 0) |
82 | 82 | ||
83 | static inline void __raw_write_lock(rwlock_t *rw) | 83 | static inline void __raw_write_lock(raw_rwlock_t *rw) |
84 | { | 84 | { |
85 | unsigned long tmp; | 85 | unsigned long tmp; |
86 | 86 | ||
@@ -97,7 +97,7 @@ static inline void __raw_write_lock(rwlock_t *rw) | |||
97 | smp_mb(); | 97 | smp_mb(); |
98 | } | 98 | } |
99 | 99 | ||
100 | static inline int __raw_write_trylock(rwlock_t *rw) | 100 | static inline int __raw_write_trylock(raw_rwlock_t *rw) |
101 | { | 101 | { |
102 | unsigned long tmp; | 102 | unsigned long tmp; |
103 | 103 | ||
@@ -157,7 +157,7 @@ static inline void __raw_read_lock(raw_rwlock_t *rw) | |||
157 | smp_mb(); | 157 | smp_mb(); |
158 | } | 158 | } |
159 | 159 | ||
160 | static inline void __raw_read_unlock(rwlock_t *rw) | 160 | static inline void __raw_read_unlock(raw_rwlock_t *rw) |
161 | { | 161 | { |
162 | unsigned long tmp, tmp2; | 162 | unsigned long tmp, tmp2; |
163 | 163 | ||