summaryrefslogtreecommitdiff
path: root/include/asm-cris/arch-v32/spinlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/arch-v32/spinlock.h')
-rw-r--r--include/asm-cris/arch-v32/spinlock.h4
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)
return rw->counter < 0;
}
+#define _raw_spin_relax(lock) cpu_relax()
+#define _raw_read_relax(lock) cpu_relax()
+#define _raw_write_relax(lock) cpu_relax()
+
#endif /* __ASM_ARCH_SPINLOCK_H */