[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F762360.1090203@fb.com>
Date: Fri, 30 Mar 2012 14:19:28 -0700
From: Arun Sharma <asharma@...com>
To: Chris Metcalf <cmetcalf@...era.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Eric Dumazet <eric.dumazet@...il.com>,
Mike Frysinger <vapier@...too.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arch/tile: revert comment for atomic64_add_unless().
On 3/27/12 11:10 AM, Chris Metcalf wrote:
> --- 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)
> {
Acked-by: Arun Sharma <asharma@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists