|
Linux Kernel
3.7.1
|
#include <asm/asm.h>#include <asm/segment.h>#include <asm/cpufeature.h>#include <asm/cmpxchg.h>#include <asm/nops.h>#include <linux/kernel.h>#include <linux/irqflags.h>Go to the source code of this file.
Macros | |
| #define | mb() asm volatile("mfence" : : : "memory") |
| #define | rmb() asm volatile("lfence" : : : "memory") |
| #define | wmb() asm volatile("sfence" : : : "memory") |
| #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 { var = value; barrier(); } while (0) |
1.8.2