projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
[firefly-linux-kernel-4.4.55.git]
/
fs
/
select.c
diff --git
a/fs/select.c
b/fs/select.c
index 015547330e88699dccb37fe1d4509e1dc07394f7..09e71a00a9b8dc49a3d3bdc32eb7b9134916fdcd 100644
(file)
--- a/
fs/select.c
+++ b/
fs/select.c
@@
-70,9
+70,9
@@
static long __estimate_accuracy(struct timespec *tv)
return slack;
}
return slack;
}
-
long
select_estimate_accuracy(struct timespec *tv)
+
u64
select_estimate_accuracy(struct timespec *tv)
{
{
- u
nsigned long
ret;
+ u
64
ret;
struct timespec now;
/*
struct timespec now;
/*
@@
-402,7
+402,7
@@
int do_select(int n, fd_set_bits *fds, struct timespec *end_time)
struct poll_wqueues table;
poll_table *wait;
int retval, i, timed_out = 0;
struct poll_wqueues table;
poll_table *wait;
int retval, i, timed_out = 0;
- u
nsigned long
slack = 0;
+ u
64
slack = 0;
unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0;
unsigned long busy_end = 0;
unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0;
unsigned long busy_end = 0;
@@
-784,7
+784,7
@@
static int do_poll(unsigned int nfds, struct poll_list *list,
poll_table* pt = &wait->pt;
ktime_t expire, *to = NULL;
int timed_out = 0, count = 0;
poll_table* pt = &wait->pt;
ktime_t expire, *to = NULL;
int timed_out = 0, count = 0;
- u
nsigned long
slack = 0;
+ u
64
slack = 0;
unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0;
unsigned long busy_end = 0;
unsigned int busy_flag = net_busy_loop_on() ? POLL_BUSY_LOOP : 0;
unsigned long busy_end = 0;