Go to the documentation of this file.
9 #ifndef _ASM_M32R_BARRIER_H
10 #define _ASM_M32R_BARRIER_H
12 #define nop() __asm__ __volatile__ ("nop" : : )
21 #define mb() barrier()
78 #define read_barrier_depends() do { } while (0)
82 #define smp_rmb() rmb()
83 #define smp_wmb() wmb()
84 #define smp_read_barrier_depends() read_barrier_depends()
85 #define set_mb(var, value) do { (void) xchg(&var, value); } while (0)
87 #define smp_mb() barrier()
88 #define smp_rmb() barrier()
89 #define smp_wmb() barrier()
90 #define smp_read_barrier_depends() do { } while (0)
91 #define set_mb(var, value) do { var = value; barrier(); } while (0)