]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch '4.3-fixes' into mips-for-linux-next
authorRalf Baechle <ralf@linux-mips.org>
Thu, 29 Oct 2015 20:03:00 +0000 (21:03 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 Oct 2015 20:03:00 +0000 (21:03 +0100)
arch/mips/include/asm/atomic.h

index 4c42fd9af7778462d18bea0724da19d2cdb35d4b..b347817522443fc6e9cd84672dee965885f0c2b7 100644 (file)
@@ -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)
 {