[PATCH] atomic_read: Use ACCESS_ONCE() instead of cast to volatile
Peter Zijlstra
peterz at infradead.org
Tue Sep 23 08:15:09 PDT 2014
On Tue, Sep 23, 2014 at 10:29:50AM -0400, 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>
Looks good to me; I can route it through the locking tree if there's no
objections.
More information about the linux-arm-kernel
mailing list