From: Paul E. McKenney Date: Wed, 9 Mar 2011 02:37:43 +0000 (-0500) Subject: Fix ppc asm syntax error. X-Git-Tag: v0.6.0~53 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b96b22e11221bf068a4f5023293ba03b89a324a8;p=userspace-rcu.git Fix ppc asm syntax error. Signed-off-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- 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");