Skip to content

Commit 2ad5d32

Browse files
committed
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 <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Preeti U Murthy <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent 6deba08 commit 2ad5d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/timer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ static void __sched do_usleep_range(unsigned long min, unsigned long max)
17071707
* @min: Minimum time in usecs to sleep
17081708
* @max: Maximum time in usecs to sleep
17091709
*/
1710-
void usleep_range(unsigned long min, unsigned long max)
1710+
void __sched usleep_range(unsigned long min, unsigned long max)
17111711
{
17121712
__set_current_state(TASK_UNINTERRUPTIBLE);
17131713
do_usleep_range(min, max);

0 commit comments

Comments
 (0)