X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng.c;h=d20905ebb22ea0c72938d2e76af12fff6ca8e713;hb=b78104db53f97c10add30016e365855a26f6e01e;hp=7ddaa69f00281c347b49a27c78ba14326a864167;hpb=7381483908683d2077de407a3a052716afebda67;p=lttng-modules.git diff --git a/probes/lttng.c b/probes/lttng.c index 7ddaa69f..d20905eb 100644 --- a/probes/lttng.c +++ b/probes/lttng.c @@ -100,7 +100,7 @@ static const struct file_operations lttng_logger_operations = { * Linux 5.6 introduced a separate proc_ops struct for /proc operations * to decouple it from the vfs. */ -#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_logger_proc_ops = { .proc_write = lttng_logger_write, };