Go to the documentation of this file.
9 #ifndef _XTENSA_SYSTEM_H
10 #define _XTENSA_SYSTEM_H
12 #define smp_read_barrier_depends() do { } while(0)
13 #define read_barrier_depends() do { } while(0)
15 #define mb() barrier()
20 #error smp_* not defined
22 #define smp_mb() barrier()
23 #define smp_rmb() barrier()
24 #define smp_wmb() barrier()
27 #define set_mb(var, value) do { var = value; mb(); } while (0)