diff options
| author | Andries E. Brouwer <andries.brouwer@cwi.nl> | 2003-09-08 18:50:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-08 18:50:18 -0700 |
| commit | 48358d93f3ffb7bdbf1ef27f31048bc3870f0c73 (patch) | |
| tree | fcfecc373e8b87532c0e440c7a85013d4d7761be /include/linux | |
| parent | 48fcc4cc536a0bed9d7004ba4d05abe45073f82e (diff) | |
[PATCH] sparse fix eventpoll
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/eventpoll.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/eventpoll.h b/include/linux/eventpoll.h index f89acbe8183a..1ece9f119220 100644 --- a/include/linux/eventpoll.h +++ b/include/linux/eventpoll.h @@ -48,9 +48,10 @@ struct file; /* Kernel space functions implementing the user space "epoll" API */ asmlinkage long sys_epoll_create(int size); -asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); -asmlinkage long sys_epoll_wait(int epfd, struct epoll_event *events, int maxevents, - int timeout); +asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, + struct epoll_event __user *event); +asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events, + int maxevents, int timeout); #ifdef CONFIG_EPOLL |
