xref: /openbmc/linux/arch/openrisc/include/asm/barrier.h (revision 67bb66d32905627e29400e2cb7f87a7c4c8cf667)
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