X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libust%2Flttng-context-vpid.c;h=1fc8aadb036976a3bb20cb438bb9972390f01940;hb=b5a3dfa5923801ddeea22ce70758d1e61200eac2;hp=4c73e174e7aa2bf48af60c09b18002372e004584;hpb=4cfec15c93af7e0cfe3ce769ee90486bb8ab7c37;p=ust.git diff --git a/libust/lttng-context-vpid.c b/libust/lttng-context-vpid.c index 4c73e17..1fc8aad 100644 --- a/libust/lttng-context-vpid.c +++ b/libust/lttng-context-vpid.c @@ -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; }