X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-user.c;h=ed566ddb424b123a02f8ec1ba496517801a7eb2d;hb=0ee739e85d483eb742b9cdf06829d643266e9b6c;hp=099a66b229a46fcc90f7b5fd7e504a3806d7d0e6;hpb=a8983fa18e8a307137b6f24a3092bae2491a02e9;p=lttng-modules.git diff --git a/probes/lttng-probe-user.c b/probes/lttng-probe-user.c index 099a66b2..ed566ddb 100644 --- a/probes/lttng-probe-user.c +++ b/probes/lttng-probe-user.c @@ -20,6 +20,7 @@ #include #include +#include #include /* @@ -43,7 +44,7 @@ long lttng_strlen_user_inatomic(const char *addr) char v; unsigned long ret; - if (unlikely(!access_ok(VERIFY_READ, + if (unlikely(!lttng_access_ok(VERIFY_READ, (__force const char __user *) addr, sizeof(v)))) break;