diff --git a/include/linux/wait.h b/include/linux/wait.h index 7d04c1b588c7..5903b1d17c92 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h @@ -529,11 +529,10 @@ do { \ \ hrtimer_init_sleeper_on_stack(&__t, CLOCK_MONOTONIC, \ HRTIMER_MODE_REL); \ - if ((timeout) != KTIME_MAX) { \ - hrtimer_set_expires_range_ns(&__t.timer, timeout, \ - current->timer_slack_ns); \ - hrtimer_sleeper_start_expires(&__t, HRTIMER_MODE_REL); \ - } \ + if ((timeout) != KTIME_MAX) \ + hrtimer_start_range_ns(&__t.timer, timeout, \ + current->timer_slack_ns, \ + HRTIMER_MODE_REL); \ \ __ret = ___wait_event(wq_head, condition, state, 0, 0, \ if (!__t.task) { \