xref: /linux/arch/openrisc/include/asm/barrier.h (revision f9bff0e31881d03badf191d3b0005839391f5f2b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_BARRIER_H
3 #define __ASM_BARRIER_H
4 
5 #define mb() asm volatile ("l.msync" ::: "memory")
6 
7 #include <asm-generic/barrier.h>
8 
9 #endif /* __ASM_BARRIER_H */
10