diff options
Diffstat (limited to 'include/asm-arm/spinlock.h')
-rw-r--r-- | include/asm-arm/spinlock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-arm/spinlock.h b/include/asm-arm/spinlock.h index 861092fbaa53..800ba5254daf 100644 --- a/include/asm-arm/spinlock.h +++ b/include/asm-arm/spinlock.h | |||
@@ -85,7 +85,6 @@ static inline void __raw_spin_unlock(raw_spinlock_t *lock) | |||
85 | * Write locks are easy - we just set bit 31. When unlocking, we can | 85 | * Write locks are easy - we just set bit 31. When unlocking, we can |
86 | * just write zero since the lock is exclusively held. | 86 | * just write zero since the lock is exclusively held. |
87 | */ | 87 | */ |
88 | #define rwlock_is_locked(x) (*((volatile unsigned int *)(x)) != 0) | ||
89 | 88 | ||
90 | static inline void __raw_write_lock(raw_rwlock_t *rw) | 89 | static inline void __raw_write_lock(raw_rwlock_t *rw) |
91 | { | 90 | { |