[PATCH] atomic_read: Use ACCESS_ONCE() instead of cast to volatile
Jesper Nilsson
jesper.nilsson at axis.com
Tue Sep 23 08:40:16 PDT 2014
On Tue, Sep 23, 2014 at 04:29:50PM +0200, Pranith Kumar wrote:
> Use the much reader friendly ACCESS_ONCE() instead of the cast to volatile. This
> is purely a style change.
>
> Signed-off-by: Pranith Kumar <bobby.prani at gmail.com>
> ---
> arch/alpha/include/asm/atomic.h | 4 ++--
> arch/arm/include/asm/atomic.h | 2 +-
> arch/arm64/include/asm/atomic.h | 4 ++--
> arch/avr32/include/asm/atomic.h | 2 +-
> arch/cris/include/asm/atomic.h | 2 +-
For the CRIS parts:
Acked-by: Jesper Nilsson <jesper.nilsson at axis.com>
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson at axis.com
More information about the linux-arm-kernel
mailing list