mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
select: rename estimate_accuracy() to select_estimate_accuracy()
Make it a subsystem-specific identifier because we wish to amke it
non-static in the next patch ("epoll: make epoll_wait() use the hrtimer
range feature").
Cc: Shawn Bohrer <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Davide Libenzi <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
61d8e11e51
commit
231f3d393f
1 changed files with 3 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ static long __estimate_accuracy(struct timespec *tv)
|
|||
return slack;
|
||||
}
|
||||
|
||||
static long estimate_accuracy(struct timespec *tv)
|
||||
static long select_estimate_accuracy(struct timespec *tv)
|
||||
{
|
||||
unsigned long ret;
|
||||
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)
|
||||
slack = estimate_accuracy(end_time);
|
||||
slack = select_estimate_accuracy(end_time);
|
||||
|
||||
retval = 0;
|
||||
for (;;) {
|
||||
|
|
@ -769,7 +769,7 @@ static int do_poll(unsigned int nfds, struct poll_list *list,
|
|||
}
|
||||
|
||||
if (end_time && !timed_out)
|
||||
slack = estimate_accuracy(end_time);
|
||||
slack = select_estimate_accuracy(end_time);
|
||||
|
||||
for (;;) {
|
||||
struct poll_list *walk;
|
||||
|
|
|
|||
Loading…
Reference in a new issue