From aeb9064daf62485f8f7f6ec71019168ecbe4b0a7 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 6 Jun 2013 16:44:49 -0400 Subject: [PATCH] Fix: add missing CONFIG_COMPAT around lib_ring_buffer_compat_ioctl Signed-off-by: Mathieu Desnoyers --- lttng-abi.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.34.1