Re: [PATCH 14/20] arch,mn10300: Fold atomic_ops

From: David Howells
Date: Tue May 20 2014 - 09:06:26 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> +#define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op)

Can ATOMIC_OP() just be an alias for ATOMIC_OP_RETURN() where that is
appropriate? I suspect several arches (MN10300 included) are going to return
the value *anyway*.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/