From: Andrew Morton Date: Wed, 27 Oct 2010 22:34:53 +0000 (-0700) Subject: select: rename estimate_accuracy() to select_estimate_accuracy() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=231f3d393f63f6e3b505afa179999bba491d0f08;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Al Viro Cc: Davide Libenzi Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/select.c b/fs/select.c index 500a669f7790..5f023f911202 100644 --- a/fs/select.c +++ b/fs/select.c @@ -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;