Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
qcomlt
demos
linux
Commits
e78cd95b
Commit
e78cd95b
authored
7 years ago
by
Al Viro
Browse files
Options
Downloads
Patches
Plain Diff
preparation to switching ->poll() to returning EPOLL...
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
65aaf87b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/linux/poll.h
+2
-1
2 additions, 1 deletion
include/linux/poll.h
with
2 additions
and
1 deletion
include/linux/poll.h
+
2
−
1
View file @
e78cd95b
...
...
@@ -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 (
E
POLLIN |
E
POLLOUT |
E
POLLRDNORM |
E
POLLWRNORM)
struct
poll_table_struct
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment