diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-02-01 17:01:35 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-02-01 22:29:29 +0100 |
commit | e78cd95bebd94ede71285722f5bf2464bfa4c599 (patch) | |
tree | 8c055ca57b7c2e9e193c808664dbe71da027a24c | |
parent | add EPOLLNVAL, annotate EPOLL... and event_poll->event (diff) | |
download | linux-e78cd95bebd94ede71285722f5bf2464bfa4c599.tar.xz linux-e78cd95bebd94ede71285722f5bf2464bfa4c599.zip |
preparation to switching ->poll() to returning EPOLL...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | include/linux/poll.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/poll.h b/include/linux/poll.h index 04781a753326..d23104b32931 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h @@ -11,6 +11,7 @@ #include <linux/sysctl.h> #include <linux/uaccess.h> #include <uapi/linux/poll.h> +#include <uapi/linux/eventpoll.h> extern struct ctl_table epoll_table[]; /* for sysctl */ /* ~832 bytes of stack space used max in sys_select/sys_poll before allocating @@ -22,7 +23,7 @@ extern struct ctl_table epoll_table[]; /* for sysctl */ #define WQUEUES_STACK_ALLOC (MAX_STACK_ALLOC - FRONTEND_STACK_ALLOC) #define N_INLINE_POLL_ENTRIES (WQUEUES_STACK_ALLOC / sizeof(struct poll_table_entry)) -#define DEFAULT_POLLMASK (POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM) +#define DEFAULT_POLLMASK (EPOLLIN | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM) struct poll_table_struct; |