blob: 005c618a0ab081cebe6d3b968724f83cc69a8f7d [file] [log] [blame]
Arnaldo Carvalho de Melo4f3db072015-05-07 18:14:25 -03001#ifndef _TOOLS_LINUX_ASM_ARM_BARRIER_H
2#define _TOOLS_LINUX_ASM_ARM_BARRIER_H
3
4/*
5 * Use the __kuser_memory_barrier helper in the CPU helper page. See
6 * arch/arm/kernel/entry-armv.S in the kernel source for details.
7 */
8#define mb() ((void(*)(void))0xffff0fa0)()
9#define wmb() ((void(*)(void))0xffff0fa0)()
10#define rmb() ((void(*)(void))0xffff0fa0)()
11
12#endif /* _TOOLS_LINUX_ASM_ARM_BARRIER_H */