diff options
Diffstat (limited to 'include/linux/poll.h')
| -rw-r--r-- | include/linux/poll.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/poll.h b/include/linux/poll.h index 48fe8bc398d1..c08386fb3e08 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h | |||
| @@ -1,9 +1,6 @@ | |||
| 1 | #ifndef _LINUX_POLL_H | 1 | #ifndef _LINUX_POLL_H |
| 2 | #define _LINUX_POLL_H | 2 | #define _LINUX_POLL_H |
| 3 | 3 | ||
| 4 | #include <asm/poll.h> | ||
| 5 | |||
| 6 | #ifdef __KERNEL__ | ||
| 7 | 4 | ||
| 8 | #include <linux/compiler.h> | 5 | #include <linux/compiler.h> |
| 9 | #include <linux/ktime.h> | 6 | #include <linux/ktime.h> |
| @@ -12,6 +9,7 @@ | |||
| 12 | #include <linux/fs.h> | 9 | #include <linux/fs.h> |
| 13 | #include <linux/sysctl.h> | 10 | #include <linux/sysctl.h> |
| 14 | #include <asm/uaccess.h> | 11 | #include <asm/uaccess.h> |
| 12 | #include <uapi/linux/poll.h> | ||
| 15 | 13 | ||
| 16 | extern struct ctl_table epoll_table[]; /* for sysctl */ | 14 | extern struct ctl_table epoll_table[]; /* for sysctl */ |
| 17 | /* ~832 bytes of stack space used max in sys_select/sys_poll before allocating | 15 | /* ~832 bytes of stack space used max in sys_select/sys_poll before allocating |
| @@ -163,6 +161,4 @@ extern int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, | |||
| 163 | 161 | ||
| 164 | extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec); | 162 | extern int poll_select_set_timeout(struct timespec *to, long sec, long nsec); |
| 165 | 163 | ||
| 166 | #endif /* KERNEL */ | ||
| 167 | |||
| 168 | #endif /* _LINUX_POLL_H */ | 164 | #endif /* _LINUX_POLL_H */ |
