X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fcompiler.h;h=aab2c5cdd7bff1c590896f0add675ba3435fcc3a;hb=8760d94e0ef6d52260765a9246aaac073613055e;hp=975e1eadc1e9cfddd8c21d34f129921808ef7863;hpb=fdee2e6dc73cc504ba24be89da539c68742e508e;p=urcu.git diff --git a/urcu/compiler.h b/urcu/compiler.h index 975e1ea..aab2c5c 100644 --- a/urcu/compiler.h +++ b/urcu/compiler.h @@ -23,7 +23,7 @@ #define likely(x) __builtin_expect(!!(x), 1) #define unlikely(x) __builtin_expect(!!(x), 0) -#define barrier() asm volatile("" : : : "memory"); +#define barrier() asm volatile("" : : : "memory") /* * Instruct the compiler to perform only a single access to a variable