linux/tools/arch/arm/include/asm/barrier.h
<<
>>
Prefs
   1#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 */
  13