162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef _ASM_MICROBLAZE_BARRIER_H
762306a36Sopenharmony_ci#define _ASM_MICROBLAZE_BARRIER_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#define mb()	__asm__ __volatile__ ("mbar 1" : : : "memory")
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#include <asm-generic/barrier.h>
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#endif /* _ASM_MICROBLAZE_BARRIER_H */
14