Loading arch/mips/include/asm/atomic.h +181 −180 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ static __inline__ void atomic_##op(int i, atomic_t * v) \ v->counter c_op i; \ raw_local_irq_restore(flags); \ } \ } \ } #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ static __inline__ int atomic_##op##_return(int i, atomic_t * v) \ Loading Loading @@ -355,7 +355,7 @@ static __inline__ void atomic64_##op(long i, atomic64_t * v) \ v->counter c_op i; \ raw_local_irq_restore(flags); \ } \ } \ } #define ATOMIC64_OP_RETURN(op, c_op, asm_op) \ static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \ Loading Loading @@ -422,7 +422,8 @@ ATOMIC64_OPS(sub, -=, dsubu) #undef ATOMIC64_OP /* * atomic64_sub_if_positive - conditionally subtract integer from atomic variable * atomic64_sub_if_positive - conditionally subtract integer from atomic * variable * @i: integer value to subtract * @v: pointer of type atomic64_t * Loading Loading
arch/mips/include/asm/atomic.h +181 −180 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ static __inline__ void atomic_##op(int i, atomic_t * v) \ v->counter c_op i; \ raw_local_irq_restore(flags); \ } \ } \ } #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ static __inline__ int atomic_##op##_return(int i, atomic_t * v) \ Loading Loading @@ -355,7 +355,7 @@ static __inline__ void atomic64_##op(long i, atomic64_t * v) \ v->counter c_op i; \ raw_local_irq_restore(flags); \ } \ } \ } #define ATOMIC64_OP_RETURN(op, c_op, asm_op) \ static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \ Loading Loading @@ -422,7 +422,8 @@ ATOMIC64_OPS(sub, -=, dsubu) #undef ATOMIC64_OP /* * atomic64_sub_if_positive - conditionally subtract integer from atomic variable * atomic64_sub_if_positive - conditionally subtract integer from atomic * variable * @i: integer value to subtract * @v: pointer of type atomic64_t * Loading