18c2ecf20Sopenharmony_ci#ifndef _TOOLS_LINUX_ASM_ARM_BARRIER_H 28c2ecf20Sopenharmony_ci#define _TOOLS_LINUX_ASM_ARM_BARRIER_H 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci/* 58c2ecf20Sopenharmony_ci * Use the __kuser_memory_barrier helper in the CPU helper page. See 68c2ecf20Sopenharmony_ci * arch/arm/kernel/entry-armv.S in the kernel source for details. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#define mb() ((void(*)(void))0xffff0fa0)() 98c2ecf20Sopenharmony_ci#define wmb() ((void(*)(void))0xffff0fa0)() 108c2ecf20Sopenharmony_ci#define rmb() ((void(*)(void))0xffff0fa0)() 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#endif /* _TOOLS_LINUX_ASM_ARM_BARRIER_H */ 13