Fix: compilation warnings on 4.1-rc1 kernel
[lttng-modules.git] / lttng-syscalls.c
index 1fc86c8eed5a84502d05b0efd893b052975d06ca..7b6078ea010f715a72819e8f5bc138573501f927 100644 (file)
@@ -36,6 +36,7 @@
 
 #include "lib/bitfield.h"
 #include "wrapper/tracepoint.h"
+#include "wrapper/file.h"
 #include "lttng-events.h"
 
 #ifndef CONFIG_COMPAT
@@ -75,6 +76,7 @@ struct oldold_utsname;
 struct old_utsname;
 struct sel_arg_struct;
 struct mmap_arg_struct;
+struct file_handle;
 
 #ifdef IA32_NR_syscalls
 #define NR_compat_syscalls IA32_NR_syscalls
@@ -1269,7 +1271,7 @@ int lttng_abi_syscall_list(void)
        struct file *syscall_list_file;
        int file_fd, ret;
 
-       file_fd = get_unused_fd();
+       file_fd = lttng_get_unused_fd();
        if (file_fd < 0) {
                ret = file_fd;
                goto fd_error;
This page took 0.024405 seconds and 4 git commands to generate.