From: Chris Metcalf Date: Tue, 27 Mar 2012 18:10:03 +0000 (-0400) Subject: arch/tile: revert comment for atomic64_add_unless(). X-Git-Tag: next-20120402~50^2~46 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3707131c688794a53a9b6a3058235131a730bb7a;p=karo-tx-linux.git 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: Chris Metcalf Acked-by: Arun Sharma --- diff --git a/arch/tile/include/asm/atomic_32.h b/arch/tile/include/asm/atomic_32.h index c03349e0ca9f..004d6d96af82 100644 --- a/arch/tile/include/asm/atomic_32.h +++ b/arch/tile/include/asm/atomic_32.h @@ -199,7 +199,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) {