Go to the documentation of this file.
11 #ifndef _ASM_IA64_BARRIER_H
12 #define _ASM_IA64_BARRIER_H
14 #include <linux/compiler.h>
38 #define mb() ia64_mf()
41 #define read_barrier_depends() do { } while(0)
44 # define smp_mb() mb()
45 # define smp_rmb() rmb()
46 # define smp_wmb() wmb()
47 # define smp_read_barrier_depends() read_barrier_depends()
49 # define smp_mb() barrier()
50 # define smp_rmb() barrier()
51 # define smp_wmb() barrier()
52 # define smp_read_barrier_depends() do { } while(0)
60 #define set_mb(var, value) do { (var) = (value); mb(); } while (0)