Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | mb() __asm__ __volatile__ ("": : :"memory") |
#define | rmb() mb() |
#define | wmb() __asm__ __volatile__ ("": : :"memory") |
#define | ctrl_barrier() __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop") |
#define | read_barrier_depends() do { } while(0) |
#define | smp_mb() barrier() |
#define | smp_rmb() barrier() |
#define | smp_wmb() barrier() |
#define | smp_read_barrier_depends() do { } while(0) |
#define | set_mb(var, value) do { (void)xchg(&var, value); } while (0) |