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.7.13~4 X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=commitdiff_plain;h=a09d9e1e4714e75eb6b9870036bd1932da82f7c6 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 { \