Re: [PATCH 3/8] x86: use long long for 64-bit atomic ops

Matthew Wilcox
2017-03-28T21:33:15Z

On Tue, Mar 28, 2017 at 06:15:40PM +0200, Dmitry Vyukov wrote:
> @@ -193,12 +193,12 @@ static inline long atomic64_xchg(atomic64_t *v, long new)
> * @a: the amount to add to v...
> * @u: ...unless v is equal to u.
> *
> - * Atomically adds @a to @v, so long as it was not @u.
> + * Atomically adds @a to @v, so long long as it was not @u.
> * Returns the old value of @v.
> */

That's a clbuttic mistake!