From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18109.1138.869633.593502@cargo.ozlabs.ibm.com> Date: Sat, 11 Aug 2007 10:36:02 +1000 From: Paul Mackerras To: Segher Boessenkool Subject: Re: [PATCH] powerpc: Implement atomic{, 64}_{read, write}() without volatile In-Reply-To: <11867913303733-git-send-email-segher@kernel.crashing.org> References: <11867913303733-git-send-email-segher@kernel.crashing.org> Cc: linux-arch@vger.kernel.org, linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Segher Boessenkool writes: > Instead, use asm() like all other atomic operations already do. > > Also use inline functions instead of macros; this actually > improves code generation (some code becomes a little smaller, > probably because of improved alias information -- just a few > hundred bytes total on a default kernel build, nothing shocking). > > Signed-off-by: Segher Boessenkool Looks OK to me. In the hope that Chris Snook will pick it up and include it with his other atomic changes: Acked-by: Paul Mackerras