X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fuatomic%2Fx86.h;h=9b67f1608d365830bd951382781ada35f91b6150;hb=cc6b0c208a9707f8a64609a51167290caeace288;hp=e064b9ebd6e1bc798c85a0d464d42940cacf2d3e;hpb=bc2433a9853a945a825c244e9ccfe341b73b2ceb;p=urcu.git diff --git a/urcu/uatomic/x86.h b/urcu/uatomic/x86.h index e064b9e..9b67f16 100644 --- a/urcu/uatomic/x86.h +++ b/urcu/uatomic/x86.h @@ -505,9 +505,9 @@ extern int __rcu_cas_avail; extern int __rcu_cas_init(void); #define UATOMIC_COMPAT(insn) \ - ((likely(__rcu_cas_avail > 0)) \ + ((caa_likely(__rcu_cas_avail > 0)) \ ? (_uatomic_##insn) \ - : ((unlikely(__rcu_cas_avail < 0) \ + : ((caa_unlikely(__rcu_cas_avail < 0) \ ? ((__rcu_cas_init() > 0) \ ? (_uatomic_##insn) \ : (compat_uatomic_##insn)) \