summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/barrier.h
blob: 70b0a017781bc11248d3a10ac94d4b602d3642ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
 */

#ifndef _ASM_MICROBLAZE_BARRIER_H
#define _ASM_MICROBLAZE_BARRIER_H

#define mb()	__asm__ __volatile__ ("mbar 1" : : : "memory")

#include <asm-generic/barrier.h>

#endif /* _ASM_MICROBLAZE_BARRIER_H */