Skip to content

Commit b18c58a

Browse files
Davidlohr Buesorostedt
authored andcommitted
tracing/osnoise: No need for schedule_hrtimeout range
No slack time is being passed, just use schedule_hrtimeout(). Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Signed-off-by: Davidlohr Bueso <[email protected]> Acked-by: Daniel Bristot de Oliveira <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent dc513fd commit b18c58a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace_osnoise.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ static void osnoise_sleep(void)
15391539
wake_time = ktime_add_us(ktime_get(), interval);
15401540
__set_current_state(TASK_INTERRUPTIBLE);
15411541

1542-
while (schedule_hrtimeout_range(&wake_time, 0, HRTIMER_MODE_ABS)) {
1542+
while (schedule_hrtimeout(&wake_time, HRTIMER_MODE_ABS)) {
15431543
if (kthread_should_stop())
15441544
break;
15451545
}

0 commit comments

Comments
 (0)