barrier.h 417 B

1234567891011121314151617
  1. #ifndef _ASM_SCORE_BARRIER_H
  2. #define _ASM_SCORE_BARRIER_H
  3. #define mb() barrier()
  4. #define rmb() barrier()
  5. #define wmb() barrier()
  6. #define smp_mb() barrier()
  7. #define smp_rmb() barrier()
  8. #define smp_wmb() barrier()
  9. #define read_barrier_depends() do {} while (0)
  10. #define smp_read_barrier_depends() do {} while (0)
  11. #define set_mb(var, value) do {var = value; wmb(); } while (0)
  12. #endif /* _ASM_SCORE_BARRIER_H */