mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
preparation to switching ->poll() to returning EPOLL...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
65aaf87b3a
commit
e78cd95beb
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
#include <linux/sysctl.h>
|
#include <linux/sysctl.h>
|
||||||
#include <linux/uaccess.h>
|
#include <linux/uaccess.h>
|
||||||
#include <uapi/linux/poll.h>
|
#include <uapi/linux/poll.h>
|
||||||
|
#include <uapi/linux/eventpoll.h>
|
||||||
|
|
||||||
extern struct ctl_table epoll_table[]; /* for sysctl */
|
extern struct ctl_table epoll_table[]; /* for sysctl */
|
||||||
/* ~832 bytes of stack space used max in sys_select/sys_poll before allocating
|
/* ~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 WQUEUES_STACK_ALLOC (MAX_STACK_ALLOC - FRONTEND_STACK_ALLOC)
|
||||||
#define N_INLINE_POLL_ENTRIES (WQUEUES_STACK_ALLOC / sizeof(struct poll_table_entry))
|
#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;
|
struct poll_table_struct;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue