X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-user.c;h=0d1f95fe00861aec694136b514e07523e285898d;hb=02fd5eae00995faffac266dfd6d219833573d345;hp=4162a7e42d2d94942fa4d5927afff8f95660d807;hpb=99fc3bbd1ee7870264434650b2e09d19b1de2dbe;p=lttng-modules.git diff --git a/probes/lttng-probe-user.c b/probes/lttng-probe-user.c index 4162a7e4..0d1f95fe 100644 --- a/probes/lttng-probe-user.c +++ b/probes/lttng-probe-user.c @@ -7,6 +7,7 @@ #include #include +#include #include /* @@ -30,7 +31,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;