X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-abi.c;h=61119837f718da9e9c1114c6b913948c267dd748;hb=refs%2Fheads%2Fstable-2.11;hp=04950eed51f60ba5a36e6d35ce6e5f75f59e5935;hpb=e298d6afbb392cb449879ed1ad0999ff0007ba7e;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index 04950eed..61119837 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -52,7 +52,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; @@ -360,7 +360,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