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

Commit 07feea87 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: revert comment for atomic64_add_unless().



It still returns whether @v was not @u, not the old value,
unlike __atomic_add_unless().

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
Acked-by: default avatarArun Sharma <asharma@fb.com>
parent 327e8b6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ static inline u64 atomic64_add_return(u64 i, atomic64_t *v)
 * @u: ...unless v is equal to u.
 *
 * Atomically adds @a to @v, so long as @v was not already @u.
 * Returns the old value of @v.
 * Returns non-zero if @v was not @u, and zero otherwise.
 */
static inline u64 atomic64_add_unless(atomic64_t *v, u64 a, u64 u)
{