|
@@ -10,6 +10,7 @@
|
|
|
#include <linux/compiler.h>
|
|
|
#include <linux/types.h>
|
|
|
#include <asm/cmpxchg.h>
|
|
|
+#include <asm/barrier.h>
|
|
|
|
|
|
#define ATOMIC_INIT(i) { (i) }
|
|
|
|
|
@@ -62,9 +63,4 @@ static inline int __atomic_add_unless(atomic_t *v, int a, int u)
|
|
|
return c;
|
|
|
}
|
|
|
|
|
|
-#define smp_mb__before_atomic_dec() smp_mb()
|
|
|
-#define smp_mb__after_atomic_dec() smp_mb()
|
|
|
-#define smp_mb__before_atomic_inc() smp_mb()
|
|
|
-#define smp_mb__after_atomic_inc() smp_mb()
|
|
|
-
|
|
|
#endif /* __ASM_SH_ATOMIC_H */
|