x86: drop extra semi-colon in caa_cpu_relax
authorEric Wong <normalperson@yhbt.net>
Thu, 31 Jul 2014 00:21:51 +0000 (00:21 +0000)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 31 Jul 2014 19:57:37 +0000 (15:57 -0400)
This fixes compilation in braceless if/else constructs:

if (expr)
caa_cpu_relax();
else
...

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/arch/x86.h

index 7af1ca524e091fb9f9aaa8b6c2d1d102d3abe270..ccc4ce8aab5235a9c6209867d3e99c15f62c1fc0 100644 (file)
@@ -66,7 +66,7 @@ extern "C" {
 #endif
 #endif
 
-#define caa_cpu_relax()        __asm__ __volatile__ ("rep; nop" : : : "memory");
+#define caa_cpu_relax()        __asm__ __volatile__ ("rep; nop" : : : "memory")
 
 #define rdtscll(val)                                                     \
        do {                                                              \
This page took 0.032989 seconds and 4 git commands to generate.