diff options
Diffstat (limited to 'include/asm-s390/spinlock.h')
-rw-r--r-- | include/asm-s390/spinlock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-s390/spinlock.h b/include/asm-s390/spinlock.h index ce3edf6d63b3..5f00feaf1be6 100644 --- a/include/asm-s390/spinlock.h +++ b/include/asm-s390/spinlock.h | |||
@@ -154,4 +154,8 @@ static inline int __raw_write_trylock(raw_rwlock_t *rw) | |||
154 | return _raw_write_trylock_retry(rw); | 154 | return _raw_write_trylock_retry(rw); |
155 | } | 155 | } |
156 | 156 | ||
157 | #define _raw_spin_relax(lock) cpu_relax() | ||
158 | #define _raw_read_relax(lock) cpu_relax() | ||
159 | #define _raw_write_relax(lock) cpu_relax() | ||
160 | |||
157 | #endif /* __ASM_SPINLOCK_H */ | 161 | #endif /* __ASM_SPINLOCK_H */ |