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:58:28 +0000 (15:58 -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 5853604932793fb5fe40b5244fc5b33042393437..2f2ac69b2aa6744ddedb00d56f85f9dcd15a7bf1 100644 (file)
@@ -60,7 +60,7 @@ extern "C" {
 #define cmm_wmb()   __asm__ __volatile__ ("lock; addl $0,0(%%esp)"::: "memory")
 #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.026029 seconds and 4 git commands to generate.