aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/barrier.h')
-rw-r--r--arch/xtensa/include/asm/barrier.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/barrier.h b/arch/xtensa/include/asm/barrier.h
index 0a24b04d6b21..5b88774c75ab 100644
--- a/arch/xtensa/include/asm/barrier.h
+++ b/arch/xtensa/include/asm/barrier.h
@@ -13,6 +13,9 @@
13#define rmb() barrier() 13#define rmb() barrier()
14#define wmb() mb() 14#define wmb() mb()
15 15
16#define smp_mb__before_atomic() barrier()
17#define smp_mb__after_atomic() barrier()
18
16#include <asm-generic/barrier.h> 19#include <asm-generic/barrier.h>
17 20
18#endif /* _XTENSA_SYSTEM_H */ 21#endif /* _XTENSA_SYSTEM_H */