Fix: add missing CONFIG_COMPAT around lib_ring_buffer_compat_ioctl
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 6 Jun 2013 20:44:49 +0000 (16:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 6 Jun 2013 20:44:49 +0000 (16:44 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.026431 seconds and 4 git commands to generate.