Skip to content

Commit

Permalink
MIPS: atomic: Fix comment describing atomic64_add_unless's return value.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>
Fixes: f24219b
(cherry picked from commit f0a232c)
  • Loading branch information
ralfbaechle committed Oct 26, 2015
1 parent 32b8819 commit f25319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/include/asm/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
* @u: ...unless v is equal to u.
*
* Atomically adds @a to @v, so long as it was not @u.
* Returns the old value of @v.
* Returns true iff @v was not @u.
*/
static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u)
{
Expand Down

0 comments on commit f25319d

Please sign in to comment.