git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf17765
)
MIPS: atomic: Fix comment describing atomic64_add_unless's return value.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 16 Oct 2015 21:09:57 +0000
(23:09 +0200)
committer
Ben Hutchings
<ben@decadent.org.uk>
Fri, 27 Nov 2015 12:48:21 +0000
(12:48 +0000)
commit
f25319d2cb439249a6859f53ad42ffa332b0acba
upstream.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Fixes:
f24219b4e90cf70ec4a211b17fbabc725a0ddf3c
(cherry picked from commit
f0a232cde7be18a207fd057dd79bbac8a0a45dec
)
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/mips/include/asm/atomic.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/atomic.h
b/arch/mips/include/asm/atomic.h
index
1d93f81
..
9d4581d
100644
(file)
--- a/
arch/mips/include/asm/atomic.h
+++ b/
arch/mips/include/asm/atomic.h
@@
-679,7
+679,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 t
he old value of @v
.
+ * Returns t
rue iff @v was not @u
.
*/
static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u)
{