From: Mathieu Desnoyers Date: Thu, 6 Jun 2013 20:44:49 +0000 (-0400) Subject: Fix: add missing CONFIG_COMPAT around lib_ring_buffer_compat_ioctl X-Git-Tag: v2.3.0-rc1~25 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=aeb9064daf62485f8f7f6ec71019168ecbe4b0a7;p=lttng-modules.git Fix: add missing CONFIG_COMPAT around lib_ring_buffer_compat_ioctl Signed-off-by: Mathieu Desnoyers --- 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)