diff options
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/select.c b/fs/select.c index 015547330e88..79d0d4953cad 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -778,8 +778,8 @@ static inline unsigned int do_pollfd(struct pollfd *pollfd, poll_table *pwait, | |||
778 | return mask; | 778 | return mask; |
779 | } | 779 | } |
780 | 780 | ||
781 | static int do_poll(unsigned int nfds, struct poll_list *list, | 781 | static int do_poll(struct poll_list *list, struct poll_wqueues *wait, |
782 | struct poll_wqueues *wait, struct timespec *end_time) | 782 | struct timespec *end_time) |
783 | { | 783 | { |
784 | poll_table* pt = &wait->pt; | 784 | poll_table* pt = &wait->pt; |
785 | ktime_t expire, *to = NULL; | 785 | ktime_t expire, *to = NULL; |
@@ -908,7 +908,7 @@ int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, | |||
908 | } | 908 | } |
909 | 909 | ||
910 | poll_initwait(&table); | 910 | poll_initwait(&table); |
911 | fdcount = do_poll(nfds, head, &table, end_time); | 911 | fdcount = do_poll(head, &table, end_time); |
912 | poll_freewait(&table); | 912 | poll_freewait(&table); |
913 | 913 | ||
914 | for (walk = head; walk; walk = walk->next) { | 914 | for (walk = head; walk; walk = walk->next) { |