Update to use caa_likely/caa_unlikely from urcu 0.6.6
[ust.git] / libust / lttng-context-vpid.c
index 4c73e174e7aa2bf48af60c09b18002372e004584..1fc8aadb036976a3bb20cb438bb9972390f01940 100644 (file)
@@ -33,7 +33,7 @@ static pid_t cached_vpid;
 static inline
 pid_t wrapper_getpid(void)
 {
-       if (unlikely(!cached_vpid))
+       if (caa_unlikely(!cached_vpid))
                cached_vpid = getpid();
        return cached_vpid;
 }
This page took 0.022197 seconds and 4 git commands to generate.