Fix: add missing CONFIG_COMPAT around lib_ring_buffer_compat_ioctl
[lttng-modules.git] / lttng-abi.c
index bde20864d526b40220d42db1b79fff8f3f1df35a..45d78d9750c3473b71b3aa9469ada486e78767e0 100644 (file)
@@ -592,6 +592,7 @@ err:
        return ret;
 }
 
+#ifdef CONFIG_COMPAT
 static
 long lttng_metadata_ring_buffer_compat_ioctl(struct file *filp,
                unsigned int cmd, unsigned long arg)
@@ -619,6 +620,7 @@ long lttng_metadata_ring_buffer_compat_ioctl(struct file *filp,
 err:
        return ret;
 }
+#endif
 
 static
 int lttng_metadata_ring_buffer_open(struct inode *inode, struct file *file)
This page took 0.02264 seconds and 4 git commands to generate.