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

Commit f10d14dd authored by Arnaud Giersch's avatar Arnaud Giersch Committed by Ralf Baechle
Browse files

[MIPS] Fix documentation typos.

parent 99289a4e
Loading
Loading
Loading
Loading
+8 −6
Original line number Original line Diff line number Diff line
@@ -231,11 +231,12 @@ static __inline__ int atomic_sub_return(int i, atomic_t * v)
}
}


/*
/*
 * atomic_sub_if_positive - add integer to atomic variable
 * atomic_sub_if_positive - conditionally subtract integer from atomic variable
 * @i: integer value to subtract
 * @v: pointer of type atomic_t
 * @v: pointer of type atomic_t
 *
 *
 * Atomically test @v and decrement if it is greater than 0.
 * Atomically test @v and subtract @i if @v is greater or equal than @i.
 * The function returns the old value of @v minus 1.
 * The function returns the old value of @v minus @i.
 */
 */
static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)
static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)
{
{
@@ -577,11 +578,12 @@ static __inline__ long atomic64_sub_return(long i, atomic64_t * v)
}
}


/*
/*
 * atomic64_sub_if_positive - add integer to atomic variable
 * atomic64_sub_if_positive - conditionally subtract integer from atomic variable
 * @i: integer value to subtract
 * @v: pointer of type atomic64_t
 * @v: pointer of type atomic64_t
 *
 *
 * Atomically test @v and decrement if it is greater than 0.
 * Atomically test @v and subtract @i if @v is greater or equal than @i.
 * The function returns the old value of @v minus 1.
 * The function returns the old value of @v minus @i.
 */
 */
static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
{
{