X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;h=18f5123c1f7772de392726f20f5397a6c5511794;hb=23a2f61ffc6a656f136fa2044c0c3b8f79766779;hp=b33879d9d6eafcd68f17201a43b6be5e731144f5;hpb=ad594e3a953db1b0c3c059fde45b5a5494f6be78;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index b33879d9..18f5123c 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; @@ -398,7 +398,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