From 2c81778bd92008e5c79173788738f1800cd42e8b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 31 Jul 2014 00:21:51 +0000 Subject: [PATCH] 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 --- urcu/arch/x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { \ -- 2.34.1