162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
362306a36Sopenharmony_ci#define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#define mb()	__asm__ __volatile__("mb": : :"memory")
662306a36Sopenharmony_ci#define rmb()	__asm__ __volatile__("mb": : :"memory")
762306a36Sopenharmony_ci#define wmb()	__asm__ __volatile__("wmb": : :"memory")
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#endif		/* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */
10