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