18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
38c2ecf20Sopenharmony_ci#define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#define mb()	__asm__ __volatile__("mb": : :"memory")
68c2ecf20Sopenharmony_ci#define rmb()	__asm__ __volatile__("mb": : :"memory")
78c2ecf20Sopenharmony_ci#define wmb()	__asm__ __volatile__("wmb": : :"memory")
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#endif		/* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */
10