From: Al Viro Date: Thu, 1 Feb 2018 16:01:35 +0000 (-0500) Subject: preparation to switching ->poll() to returning EPOLL... X-Git-Tag: v4.16-rc1~3^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78cd95bebd94ede71285722f5bf2464bfa4c599;p=thirdparty%2Flinux.git preparation to switching ->poll() to returning EPOLL... Signed-off-by: Al Viro --- diff --git a/include/linux/poll.h b/include/linux/poll.h index 04781a7533262..d23104b329317 100644 --- a/include/linux/poll.h +++ b/include/linux/poll.h @@ -11,6 +11,7 @@ #include #include #include +#include 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;