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.9.0~86 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2c81778bd92008e5c79173788738f1800cd42e8b;p=userspace-rcu.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 7af1ca5..ccc4ce8 100644 --- a/urcu/arch/x86.h +++ b/urcu/arch/x86.h @@ -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 { \