path: root/kernel/time/timer.c
diff options
authorThomas Gleixner <>2015-04-14 21:09:30 +0000
committerThomas Gleixner <>2015-04-22 17:06:52 +0200
commit2ad5d3272d8e20e24d8242ebac9f3007f1ea56bc (patch)
tree67e64c917d4927225b9e0b72289d7f050a2b0f56 /kernel/time/timer.c
parent6deba083e1de3f92f65c9849254e92a1ef001b73 (diff)
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 <> Acked-by: Peter Zijlstra <> Cc: Preeti U Murthy <> Cc: Viresh Kumar <> Cc: Marcelo Tosatti <> Cc: Frederic Weisbecker <> Link: Signed-off-by: Thomas Gleixner <>
Diffstat (limited to 'kernel/time/timer.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index e9cc7e0642f2..03f926c7a8ee 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1707,7 +1707,7 @@ static void __sched do_usleep_range(unsigned long min, unsigned long max)
* @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)
do_usleep_range(min, max);