ARM: mmp: fix potential NULL dereference
[linux/fpc-iii.git] / arch / score / include / asm / barrier.h
blob0eacb6471e6dab046c18c6adb3585ba1d14617a5
1 #ifndef _ASM_SCORE_BARRIER_H
2 #define _ASM_SCORE_BARRIER_H
4 #define mb() barrier()
5 #define rmb() barrier()
6 #define wmb() barrier()
7 #define smp_mb() barrier()
8 #define smp_rmb() barrier()
9 #define smp_wmb() barrier()
11 #define read_barrier_depends() do {} while (0)
12 #define smp_read_barrier_depends() do {} while (0)
14 #define set_mb(var, value) do {var = value; wmb(); } while (0)
16 #endif /* _ASM_SCORE_BARRIER_H */