X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fcompiler.h;h=d67e6c5d36922661f7b9e116d9c2b82ea555f6ec;hp=fb8b8293ca132f683f9639c3a2502e934d17c326;hb=5481ddb381061bda64aebc039900d21cac6a6caf;hpb=21c0a9849be7342dbe4ea717cc1785bd133d5367 diff --git a/urcu/compiler.h b/urcu/compiler.h index fb8b829..d67e6c5 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 cmm_barrier() asm volatile("" : : : "memory") /* * Instruct the compiler to perform only a single access to a variable