From: Paul E. McKenney Date: Wed, 23 Sep 2009 07:09:59 +0000 (-0400) Subject: ppc atomic: Fix asm format. X-Git-Tag: v0.1~47 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e72f49371b233637eaf143265a73c7322d0710fd;p=urcu.git ppc atomic: Fix asm format. Signed-off-by: Paul E. McKenney Signed-off-by: Mathieu Desnoyers --- diff --git a/arch_atomic_ppc.h b/arch_atomic_ppc.h index d696e26..88b366e 100644 --- a/arch_atomic_ppc.h +++ b/arch_atomic_ppc.h @@ -120,7 +120,7 @@ unsigned long _atomic_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 int)_new), "r"((unsigned int)old) : "memory", "cc");