Commit ddcc17b0 authored by Mike Frysinger's avatar Mike Frysinger Committed by James Toy

The forward decls for some kernel types are only needed by the code behind

__KERNEL__, so don't bleed these types to userspace.
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 9051983e
...@@ -4,11 +4,6 @@ ...@@ -4,11 +4,6 @@
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/types.h> #include <linux/types.h>
struct inode;
struct mm_struct;
struct task_struct;
union ktime;
/* Second argument to futex syscall */ /* Second argument to futex syscall */
...@@ -129,6 +124,11 @@ struct robust_list_head { ...@@ -129,6 +124,11 @@ struct robust_list_head {
#define FUTEX_BITSET_MATCH_ANY 0xffffffff #define FUTEX_BITSET_MATCH_ANY 0xffffffff
#ifdef __KERNEL__ #ifdef __KERNEL__
struct inode;
struct mm_struct;
struct task_struct;
union ktime;
long do_futex(u32 __user *uaddr, int op, u32 val, union ktime *timeout, long do_futex(u32 __user *uaddr, int op, u32 val, union ktime *timeout,
u32 __user *uaddr2, u32 val2, u32 val3); u32 __user *uaddr2, u32 val2, u32 val3);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment