X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;fp=lttng-abi.c;h=ecc040e5c96e5f727c8ab133e882dd94c4ce732e;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=f57004e1fbb2c89789fed449209145a731d046ee;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index f57004e1..ecc040e5 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -66,7 +66,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; @@ -370,7 +370,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