|
@@ -241,11 +241,6 @@ static inline int __atomic_add_unless(atomic_t *v, int a, int u)
|
|
|
|
|
|
#define atomic_add_negative(i,v) (atomic_add_return(i, v) < 0)
|
|
#define atomic_add_negative(i,v) (atomic_add_return(i, v) < 0)
|
|
|
|
|
|
-#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()
|
|
|
|
-
|
|
|
|
#ifndef CONFIG_GENERIC_ATOMIC64
|
|
#ifndef CONFIG_GENERIC_ATOMIC64
|
|
typedef struct {
|
|
typedef struct {
|
|
long long counter;
|
|
long long counter;
|