Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
[linux/fpc-iii.git] / tools / arch / arm / include / asm / barrier.h
blob005c618a0ab081cebe6d3b968724f83cc69a8f7d
1 #ifndef _TOOLS_LINUX_ASM_ARM_BARRIER_H
2 #define _TOOLS_LINUX_ASM_ARM_BARRIER_H
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)()
12 #endif /* _TOOLS_LINUX_ASM_ARM_BARRIER_H */