diff options
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/spinlock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/spinlock.h b/include/asm-arm/spinlock.h index 01b7c26a3038..861092fbaa53 100644 --- a/include/asm-arm/spinlock.h +++ b/include/asm-arm/spinlock.h | |||
@@ -218,4 +218,8 @@ static inline int __raw_read_trylock(raw_rwlock_t *rw) | |||
218 | /* read_can_lock - would read_trylock() succeed? */ | 218 | /* read_can_lock - would read_trylock() succeed? */ |
219 | #define __raw_read_can_lock(x) ((x)->lock < 0x80000000) | 219 | #define __raw_read_can_lock(x) ((x)->lock < 0x80000000) |
220 | 220 | ||
221 | #define _raw_spin_relax(lock) cpu_relax() | ||
222 | #define _raw_read_relax(lock) cpu_relax() | ||
223 | #define _raw_write_relax(lock) cpu_relax() | ||
224 | |||
221 | #endif /* __ASM_SPINLOCK_H */ | 225 | #endif /* __ASM_SPINLOCK_H */ |