Messages in this thread Patch in this message | | | Date | Tue, 14 Apr 2015 21:09:30 -0000 | From | Thomas Gleixner <> | Subject | [patch 39/39] timer: Put usleep_range into the __sched section |
| |
do_usleep_range() and schedule_hrtimeout_range() are __sched as well. So it makes no sense to have the exported function in a different section.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- kernel/time/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: tip/kernel/time/timer.c =================================================================== --- tip.orig/kernel/time/timer.c +++ tip/kernel/time/timer.c @@ -1707,7 +1707,7 @@ static void __sched do_usleep_range(unsi * @min: Minimum time in usecs to sleep * @max: Maximum time in usecs to sleep */ -void usleep_range(unsigned long min, unsigned long max) +void __sched usleep_range(unsigned long min, unsigned long max) { __set_current_state(TASK_UNINTERRUPTIBLE); do_usleep_range(min, max);
| |