Support urcu 0.6.6 with the likely/unlikely API change
[lttng-tools.git] / lttng-sessiond / futex.c
index de3f94e6e6a0bb6dcbc25505721ad033c398a1c1..e01771e6ea422bbbc8088f5b719a438f83f6b829 100644 (file)
@@ -93,7 +93,7 @@ void futex_nto1_wait(int32_t *futex)
  */
 void futex_nto1_wake(int32_t *futex)
 {
-       if (unlikely(uatomic_read(futex) == -1)) {
+       if (caa_unlikely(uatomic_read(futex) == -1)) {
                uatomic_set(futex, 0);
                futex_async(futex, FUTEX_WAKE, 1, NULL, NULL, 0);
        }
This page took 0.024344 seconds and 5 git commands to generate.