s390 uatomic: fix new compiler support
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 8 Dec 2009 00:10:00 +0000 (19:10 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 8 Dec 2009 00:10:00 +0000 (19:10 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu/uatomic_arch_s390.h

index 813d9708a8efff783938a24c3e55987c64042436..fdfabfd65a2bafa2ddf3b1c288e5c352e5fd6eb7 100644 (file)
@@ -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 */
This page took 0.025326 seconds and 4 git commands to generate.