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