summaryrefslogtreecommitdiff
path: root/arch/openrisc/include/asm/barrier.h
blob: 7538294721bed7bc8da3d08f3db89a408091f3f8 (plain)
1
2
3
4
5
6
7
8
9
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_BARRIER_H
#define __ASM_BARRIER_H

#define mb() asm volatile ("l.msync" ::: "memory")

#include <asm-generic/barrier.h>

#endif /* __ASM_BARRIER_H */