Adding support for MOXA ART SoC. Testing port of linux-2.6.32.60-moxart.
[linux-3.6.7-moxart.git] / arch / m68k / include / asm / barrier.h
blob445ce22c23cb0528bf2855c36502b1c3bedecd7f
1 #ifndef _M68K_BARRIER_H
2 #define _M68K_BARRIER_H
4 /*
5 * Force strict CPU ordering.
6 * Not really required on m68k...
7 */
8 #define nop() do { asm volatile ("nop"); barrier(); } while (0)
9 #define mb() barrier()
10 #define rmb() barrier()
11 #define wmb() barrier()
12 #define read_barrier_depends() ((void)0)
13 #define set_mb(var, value) ({ (var) = (value); wmb(); })
15 #define smp_mb() barrier()
16 #define smp_rmb() barrier()
17 #define smp_wmb() barrier()
18 #define smp_read_barrier_depends() ((void)0)
20 #endif /* _M68K_BARRIER_H */