Skip to content

Commit

Permalink
select: rename estimate_accuracy() to select_estimate_accuracy()
Browse files Browse the repository at this point in the history
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 <shawn.bohrer@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Oct 28, 2010
1 parent 61d8e11 commit 231f3d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 (;;) {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 231f3d3

Please sign in to comment.