Commit b18c58af authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Steven Rostedt (Google)
Browse files

tracing/osnoise: No need for schedule_hrtimeout range

parent dc513fd5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1539,7 +1539,7 @@ static void osnoise_sleep(void)
	wake_time = ktime_add_us(ktime_get(), interval);
	__set_current_state(TASK_INTERRUPTIBLE);

	while (schedule_hrtimeout_range(&wake_time, 0, HRTIMER_MODE_ABS)) {
	while (schedule_hrtimeout(&wake_time, HRTIMER_MODE_ABS)) {
		if (kthread_should_stop())
			break;
	}