barrier.h 296 B

123456789
  1. #ifndef __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
  2. #define __TOOLS_LINUX_ASM_ALPHA_BARRIER_H
  3. #define mb() __asm__ __volatile__("mb": : :"memory")
  4. #define rmb() __asm__ __volatile__("mb": : :"memory")
  5. #define wmb() __asm__ __volatile__("wmb": : :"memory")
  6. #endif /* __TOOLS_LINUX_ASM_ALPHA_BARRIER_H */