1 #ifndef __ASM_SPINLOCK_H
2 #define __ASM_SPINLOCK_H
3 
4 #define arch_lock_acquire_barrier() smp_mb()
5 #define arch_lock_release_barrier() smp_mb()
6 
7 #define arch_lock_relax() wfe()
8 #define arch_lock_signal() do { \
9     dsb(ishst);                 \
10     sev();                      \
11 } while(0)
12 
13 #define arch_lock_signal_wmb()  arch_lock_signal()
14 
15 #endif /* __ASM_SPINLOCK_H */
16