From: Eric Wong Date: Thu, 31 Jul 2014 00:21:51 +0000 (+0000) Subject: x86: drop extra semi-colon in caa_cpu_relax X-Git-Tag: v0.8.5~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a33fcd59fd2dcf8bf49ab6af5f0a2705e77d98ed;p=urcu.git x86: drop extra semi-colon in caa_cpu_relax This fixes compilation in braceless if/else constructs: if (expr) caa_cpu_relax(); else ... Signed-off-by: Eric Wong Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/arch/x86.h b/urcu/arch/x86.h index 5853604..2f2ac69 100644 --- a/urcu/arch/x86.h +++ b/urcu/arch/x86.h @@ -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 { \