From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755218Ab0K2WwX (ORCPT ); Mon, 29 Nov 2010 17:52:23 -0500 Received: from mail.openrapids.net ([64.15.138.104]:41541 "EHLO blackscsi.openrapids.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755031Ab0K2WwW (ORCPT ); Mon, 29 Nov 2010 17:52:22 -0500 Date: Mon, 29 Nov 2010 17:52:20 -0500 From: Mathieu Desnoyers To: "Paul E. McKenney" Cc: ltt-dev@lists.casi.polymtl.ca, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix ppc asm typo Message-ID: <20101129225220.GA512@Krystal> References: <20101129223022.GA9205@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101129223022.GA9205@linux.vnet.ibm.com> X-Editor: vi X-Info: http://www.efficios.com X-Operating-System: Linux/2.6.26-2-686 (i686) X-Uptime: 17:50:42 up 6 days, 3:53, 4 users, load average: 1.00, 1.00, 1.00 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, This patch has already been merged by me in the userspace RCU library: commit e72f49371b233637eaf143265a73c7322d0710fd Author: Paul E. McKenney Date: Wed Sep 23 03:09:59 2009 -0400 ppc atomic: Fix asm format. Signed-off-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers It's therefore already integrated in the current releases. Thanks, Mathieu * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote: > Fix ppc asm typo. > > Signed-off-by: Paul E. McKenney > > diff --git a/urcu/uatomic_arch_ppc.h b/urcu/uatomic_arch_ppc.h > index 426b0f2..bb74934 100644 > --- a/urcu/uatomic_arch_ppc.h > +++ b/urcu/uatomic_arch_ppc.h > @@ -133,7 +133,7 @@ unsigned long _uatomic_cmpxchg(void *addr, unsigned long old, > "bne- 1b\n" /* retry if lost reservation */ > "isync\n" > "2:\n" > - : "=&r"(old_val), > + : "=&r"(old_val) > : "r"(addr), "r"((unsigned long)_new), > "r"((unsigned long)old) > : "memory", "cc"); -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com