Re: [v6, 1/4] atomics: Allow architectures to define their own __atomic_op_* helpers

From: Michael Ellerman
Date: Mon Feb 22 2016 - 04:46:04 EST


On Tue, 2015-15-12 at 14:24:14 UTC, Boqun Feng wrote:
> Some architectures may have their special barriers for acquire, release
> and fence semantics, so that general memory barriers(smp_mb__*_atomic())
> in the default __atomic_op_*() may be too strong, so allow architectures
> to define their own helpers which can overwrite the default helpers.
>
> Signed-off-by: Boqun Feng <boqun.feng@xxxxxxxxx>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/e1ab7f39d7e0dbfbdefe148be3

cheers