18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef _ASM_MICROBLAZE_BARRIER_H 78c2ecf20Sopenharmony_ci#define _ASM_MICROBLAZE_BARRIER_H 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#define mb() __asm__ __volatile__ ("mbar 1" : : : "memory") 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <asm-generic/barrier.h> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#endif /* _ASM_MICROBLAZE_BARRIER_H */ 14