diff options
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/select.c b/fs/select.c index 79d0d4953cad..869293988c2a 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -70,9 +70,9 @@ static long __estimate_accuracy(struct timespec *tv) | |||
70 | return slack; | 70 | return slack; |
71 | } | 71 | } |
72 | 72 | ||
73 | long select_estimate_accuracy(struct timespec *tv) | 73 | u64 select_estimate_accuracy(struct timespec *tv) |
74 | { | 74 | { |
75 | unsigned long ret; | 75 | u64 ret; |
76 | struct timespec now; | 76 | struct timespec now; |
77 | 77 | ||
78 | /* | 78 | /* |
@@ -402,7 +402,7 @@ int do_select(int n, fd_set_bits *fds, struct timespec *end_time) | |||
402 | struct poll_wqueues table; | 402 | struct poll_wqueues table; |
403 | poll_table *wait; | 403 | poll_table *wait; |
404 | int retval, i, timed_out = 0; | 404 | int retval, i, timed_out = 0; |
405 | unsigned long slack = 0; | 405 | u64 slack = 0; |
406 | unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0; | 406 | unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0; |
407 | unsigned long busy_end = 0; | 407 | unsigned long busy_end = 0; |
408 | 408 | ||
@@ -784,7 +784,7 @@ static int do_poll(struct poll_list *list, struct poll_wqueues *wait, | |||
784 | poll_table* pt = &wait->pt; | 784 | poll_table* pt = &wait->pt; |
785 | ktime_t expire, *to = NULL; | 785 | ktime_t expire, *to = NULL; |
786 | int timed_out = 0, count = 0; | 786 | int timed_out = 0, count = 0; |
787 | unsigned long slack = 0; | 787 | u64 slack = 0; |
788 | unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0; | 788 | unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0; |
789 | unsigned long busy_end = 0; | 789 | unsigned long busy_end = 0; |
790 | 790 | ||