From: Mathieu Desnoyers Date: Tue, 8 Dec 2009 00:10:00 +0000 (-0500) Subject: s390 uatomic: fix new compiler support X-Git-Tag: v0.3.2~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a44291d81fd9347fc495cd62ffe3daf3fa783269;p=urcu.git s390 uatomic: fix new compiler support Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/uatomic_arch_s390.h b/urcu/uatomic_arch_s390.h index 813d970..fdfabfd 100644 --- a/urcu/uatomic_arch_s390.h +++ b/urcu/uatomic_arch_s390.h @@ -62,13 +62,13 @@ extern "C" { #ifdef COMPILER_HAVE_SHORT_MEM_OPERAND #define MEMOP_OUT(addr) "=Q" (*(addr)) -#define MEMOP_IN "Q" (*(addr)) +#define MEMOP_IN(addr) "Q" (*(addr)) #define MEMOP_REF(op) #op /* op refer to MEMOP_IN operand */ #else /* !COMPILER_HAVE_SHORT_MEM_OPERAND */ #define MEMOP_OUT(addr) "=m" (*(addr)) -#define MEMOP_IN "a" (addr), "m" (*(addr)) +#define MEMOP_IN(addr) "a" (addr), "m" (*(addr)) #define MEMOP_REF(op) "0(" #op ")" /* op refer to MEMOP_IN operand */ #endif /* !COMPILER_HAVE_SHORT_MEM_OPERAND */