Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+181 −180
Original line number Diff line number Diff line
@@ -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)		      \
@@ -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)	      \
@@ -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
 *