From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH] atomic_read: Use ACCESS_ONCE() instead of cast to volatile Date: Tue, 23 Sep 2014 17:15:09 +0200 Message-ID: <20140923151509.GI3312@worktop.programming.kicks-ass.net> References: <1411482607-20948-1-git-send-email-bobby.prani@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Russell King , Catalin Marinas , Will Deacon , Haavard Skinnemoen , Hans-Christian Egtvedt , Mikael Starvik , Jesper Nilsson , David Howells , Tony Luck , Fenghua Yu , Hirokazu Takata , Geert Uytterhoeven , Ralf Baechle , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , To: Pranith Kumar Return-path: In-Reply-To: <1411482607-20948-1-git-send-email-bobby.prani@gmail.com> Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips List-subscribe: List-owner: List-post: List-archive: 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 Looks good to me; I can route it through the locking tree if there's no objections.