From a09d9e1e4714e75eb6b9870036bd1932da82f7c6 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 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 { \ -- 2.34.1