X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-abi.c;h=4d0539853c04206b9f0d5f7053fa474120509c02;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=7096daf7a544358202e14f49ae210d13397c48b2;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/src/lttng-abi.c b/src/lttng-abi.c index 7096daf7..4d053985 100644 --- a/src/lttng-abi.c +++ b/src/lttng-abi.c @@ -54,7 +54,7 @@ static struct proc_dir_entry *lttng_proc_dentry; -#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_proc_ops; #else static const struct file_operations lttng_proc_ops; @@ -464,7 +464,7 @@ long lttng_ioctl(struct file *file, unsigned int cmd, unsigned long arg) } } -#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_proc_ops = { .proc_ioctl = lttng_ioctl, #ifdef CONFIG_COMPAT