xref: /linux/arch/microblaze/include/asm/barrier.h (revision ead5d1f4d877e92c051e1a1ade623d0d30e71619)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
4  */
5 
6 #ifndef _ASM_MICROBLAZE_BARRIER_H
7 #define _ASM_MICROBLAZE_BARRIER_H
8 
9 #define mb()	__asm__ __volatile__ ("mbar 1" : : : "memory")
10 
11 #include <asm-generic/barrier.h>
12 
13 #endif /* _ASM_MICROBLAZE_BARRIER_H */
14