[PATCH] atomic_read: Use ACCESS_ONCE() instead of cast to volatile
From: peterz@infradead.org (Peter Zijlstra)
Date: 2014-09-23 15:15:09
Also in:
linux-alpha, linux-arch, linux-mips
From: peterz@infradead.org (Peter Zijlstra)
Date: 2014-09-23 15:15:09
Also in:
linux-alpha, linux-arch, linux-mips
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 <redacted>
Looks good to me; I can route it through the locking tree if there's no objections.