X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-i386%2Fatomic.h;h=4dd272331361c7eb747305366810fc92c28b3b08;hb=1c710c896eb461895d3c399e15bb5f20b39c9073;hp=c57441bb290502c449e4217684711a3b11c34a3f;hpb=40b20c257a13c5a526ac540bc5e43d0fdf29792a;p=powerpc.git diff --git a/include/asm-i386/atomic.h b/include/asm-i386/atomic.h index c57441bb29..4dd2723313 100644 --- a/include/asm-i386/atomic.h +++ b/include/asm-i386/atomic.h @@ -211,12 +211,12 @@ static __inline__ int atomic_sub_return(int i, atomic_t *v) #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) /** - * atomic_add_unless - add unless the number is a given value + * atomic_add_unless - add unless the number is already a given value * @v: pointer of type atomic_t * @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 as @v was not already @u. * Returns non-zero if @v was not @u, and zero otherwise. */ #define atomic_add_unless(v, a, u) \