X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng.c;h=a5524394351b85201b35e5379d8ac2ca5de01828;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=b63ffdf3e6fc9b2ecd12690652dd000099ea4b89;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/probes/lttng.c b/probes/lttng.c index b63ffdf3..a5524394 100644 --- a/probes/lttng.c +++ b/probes/lttng.c @@ -109,7 +109,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, };