Commit ddb3108e authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Ralf Baechle

MIPS: atomic.h: Reformat to fit in 79 columns

Signed-off-by: default avatarMaciej W. Rozycki <macro@codesourcery.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8484/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 0e525e48
...@@ -76,7 +76,7 @@ static __inline__ void atomic_##op(int i, atomic_t * v) \ ...@@ -76,7 +76,7 @@ static __inline__ void atomic_##op(int i, atomic_t * v) \
v->counter c_op i; \ v->counter c_op i; \
raw_local_irq_restore(flags); \ raw_local_irq_restore(flags); \
} \ } \
} \ }
#define ATOMIC_OP_RETURN(op, c_op, asm_op) \ #define ATOMIC_OP_RETURN(op, c_op, asm_op) \
static __inline__ int atomic_##op##_return(int i, atomic_t * v) \ static __inline__ int atomic_##op##_return(int i, atomic_t * v) \
...@@ -355,7 +355,7 @@ static __inline__ void atomic64_##op(long i, atomic64_t * v) \ ...@@ -355,7 +355,7 @@ static __inline__ void atomic64_##op(long i, atomic64_t * v) \
v->counter c_op i; \ v->counter c_op i; \
raw_local_irq_restore(flags); \ raw_local_irq_restore(flags); \
} \ } \
} \ }
#define ATOMIC64_OP_RETURN(op, c_op, asm_op) \ #define ATOMIC64_OP_RETURN(op, c_op, asm_op) \
static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \ static __inline__ long atomic64_##op##_return(long i, atomic64_t * v) \
...@@ -422,7 +422,8 @@ ATOMIC64_OPS(sub, -=, dsubu) ...@@ -422,7 +422,8 @@ ATOMIC64_OPS(sub, -=, dsubu)
#undef ATOMIC64_OP #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 * @i: integer value to subtract
* @v: pointer of type atomic64_t * @v: pointer of type atomic64_t
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment