X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fprobes%2Flttng-test.c;h=d550398e4d7e6cf4ca71ad192deca77d0b8b6821;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=a4fa06450a747b6fe2d9c993269166b3136135e1;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/tests/probes/lttng-test.c b/tests/probes/lttng-test.c index a4fa0645..d550398e 100644 --- a/tests/probes/lttng-test.c +++ b/tests/probes/lttng-test.c @@ -86,7 +86,7 @@ end: return written; } -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0)) static const struct proc_ops lttng_test_filter_event_proc_ops = { .proc_write = lttng_test_filter_event_write, };