[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101129230820.GH2182@linux.vnet.ibm.com>
Date: Mon, 29 Nov 2010 15:08:20 -0800
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Cc: ltt-dev@...ts.casi.polymtl.ca, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Fix ppc asm typo
On Mon, Nov 29, 2010 at 05:52:20PM -0500, Mathieu Desnoyers wrote:
> Hi Paul,
>
> This patch has already been merged by me in the userspace RCU library:
>
> commit e72f49371b233637eaf143265a73c7322d0710fd
> Author: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> Date: Wed Sep 23 03:09:59 2009 -0400
>
> ppc atomic: Fix asm format.
>
> Signed-off-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
>
> It's therefore already integrated in the current releases.
Hmmm... I wonder why v0.5.2 got me a compiler error, then...
Thanx, Paul
> Thanks,
>
> Mathieu
>
>
> * Paul E. McKenney (paulmck@...ux.vnet.ibm.com) wrote:
> > Fix ppc asm typo.
> >
> > Signed-off-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
> >
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists