X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-abi.c;h=45d78d9750c3473b71b3aa9469ada486e78767e0;hb=aeb9064daf62485f8f7f6ec71019168ecbe4b0a7;hp=bde20864d526b40220d42db1b79fff8f3f1df35a;hpb=d83004aa718065e5221d8ef4b99e4302b70b3df9;p=lttng-modules.git diff --git a/lttng-abi.c b/lttng-abi.c index bde20864..45d78d97 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -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)