162306a36Sopenharmony_ci#ifndef _TOOLS_LINUX_ASM_ARM_BARRIER_H
262306a36Sopenharmony_ci#define _TOOLS_LINUX_ASM_ARM_BARRIER_H
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci/*
562306a36Sopenharmony_ci * Use the __kuser_memory_barrier helper in the CPU helper page. See
662306a36Sopenharmony_ci * arch/arm/kernel/entry-armv.S in the kernel source for details.
762306a36Sopenharmony_ci */
862306a36Sopenharmony_ci#define mb()		((void(*)(void))0xffff0fa0)()
962306a36Sopenharmony_ci#define wmb()		((void(*)(void))0xffff0fa0)()
1062306a36Sopenharmony_ci#define rmb()		((void(*)(void))0xffff0fa0)()
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#endif /* _TOOLS_LINUX_ASM_ARM_BARRIER_H */
13