X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;h=61119837f718da9e9c1114c6b913948c267dd748;hb=b78104db53f97c10add30016e365855a26f6e01e;hp=04950eed51f60ba5a36e6d35ce6e5f75f59e5935;hpb=7381483908683d2077de407a3a052716afebda67;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