projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b8819
)
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
Ralf Baechle
<ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:02 +0000
(09:49 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Fixes:
f24219b4e90cf70ec4a211b17fbabc725a0ddf3c
(cherry picked from commit
f0a232cde7be18a207fd057dd79bbac8a0a45dec
)
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
4c42fd9
..
b347817
100644
(file)
--- a/
arch/mips/include/asm/atomic.h
+++ b/
arch/mips/include/asm/atomic.h
@@
-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 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)
{