diff options
Diffstat (limited to 'include/asm-cris/arch-v32/spinlock.h')
-rw-r--r-- | include/asm-cris/arch-v32/spinlock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v32/spinlock.h b/include/asm-cris/arch-v32/spinlock.h index 52df72a62232..5f43df0a5fb4 100644 --- a/include/asm-cris/arch-v32/spinlock.h +++ b/include/asm-cris/arch-v32/spinlock.h | |||
@@ -160,4 +160,8 @@ static __inline__ int is_write_locked(rwlock_t *rw) | |||
160 | return rw->counter < 0; | 160 | return rw->counter < 0; |
161 | } | 161 | } |
162 | 162 | ||
163 | #define _raw_spin_relax(lock) cpu_relax() | ||
164 | #define _raw_read_relax(lock) cpu_relax() | ||
165 | #define _raw_write_relax(lock) cpu_relax() | ||
166 | |||
163 | #endif /* __ASM_ARCH_SPINLOCK_H */ | 167 | #endif /* __ASM_ARCH_SPINLOCK_H */ |