Go to the documentation of this file. 1 #ifndef __SPARC_BARRIER_H
2 #define __SPARC_BARRIER_H
5 #define mb() __asm__ __volatile__ ("" : : : "memory")
8 #define read_barrier_depends() do { } while(0)
9 #define set_mb(__var, __value) do { __var = __value; mb(); } while(0)
10 #define smp_mb() __asm__ __volatile__("":::"memory")
11 #define smp_rmb() __asm__ __volatile__("":::"memory")
12 #define smp_wmb() __asm__ __volatile__("":::"memory")
13 #define smp_read_barrier_depends() do { } while(0)