|
@@ -67,7 +67,7 @@ static long __estimate_accuracy(struct timespec *tv)
|
|
return slack;
|
|
return slack;
|
|
}
|
|
}
|
|
|
|
|
|
-static long estimate_accuracy(struct timespec *tv)
|
|
|
|
|
|
+static long select_estimate_accuracy(struct timespec *tv)
|
|
{
|
|
{
|
|
unsigned long ret;
|
|
unsigned long ret;
|
|
struct timespec now;
|
|
struct timespec now;
|
|
@@ -417,7 +417,7 @@ int do_select(int n, fd_set_bits *fds, struct timespec *end_time)
|
|
}
|
|
}
|
|
|
|
|
|
if (end_time && !timed_out)
|
|
if (end_time && !timed_out)
|
|
- slack = estimate_accuracy(end_time);
|
|
|
|
|
|
+ slack = select_estimate_accuracy(end_time);
|
|
|
|
|
|
retval = 0;
|
|
retval = 0;
|
|
for (;;) {
|
|
for (;;) {
|
|
@@ -769,7 +769,7 @@ static int do_poll(unsigned int nfds, struct poll_list *list,
|
|
}
|
|
}
|
|
|
|
|
|
if (end_time && !timed_out)
|
|
if (end_time && !timed_out)
|
|
- slack = estimate_accuracy(end_time);
|
|
|
|
|
|
+ slack = select_estimate_accuracy(end_time);
|
|
|
|
|
|
for (;;) {
|
|
for (;;) {
|
|
struct poll_list *walk;
|
|
struct poll_list *walk;
|