X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fprobes%2Flttng-test.c;h=c3d9cca55b0f33d30c8426dff2c89a5567e8323b;hb=b78104db53f97c10add30016e365855a26f6e01e;hp=8f2d3febe604560b0ae02d08e2549555e1e3643c;hpb=7381483908683d2077de407a3a052716afebda67;p=lttng-modules.git diff --git a/tests/probes/lttng-test.c b/tests/probes/lttng-test.c index 8f2d3feb..c3d9cca5 100644 --- a/tests/probes/lttng-test.c +++ b/tests/probes/lttng-test.c @@ -87,7 +87,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, };