aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/spinlock.h')
-rw-r--r--include/asm-parisc/spinlock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-parisc/spinlock.h b/include/asm-parisc/spinlock.h
index a93960e232cf..e1825530365d 100644
--- a/include/asm-parisc/spinlock.h
+++ b/include/asm-parisc/spinlock.h
@@ -152,4 +152,8 @@ static __inline__ int __raw_write_can_lock(raw_rwlock_t *rw)
152 return !rw->counter; 152 return !rw->counter;
153} 153}
154 154
155#define _raw_spin_relax(lock) cpu_relax()
156#define _raw_read_relax(lock) cpu_relax()
157#define _raw_write_relax(lock) cpu_relax()
158
155#endif /* __ASM_SPINLOCK_H */ 159#endif /* __ASM_SPINLOCK_H */