summaryrefslogtreecommitdiff
path: root/kernel/time/sleep_timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time/sleep_timeout.c')
-rw-r--r--kernel/time/sleep_timeout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/sleep_timeout.c b/kernel/time/sleep_timeout.c
index 3054e5232d20..dfe939f6e4ec 100644
--- a/kernel/time/sleep_timeout.c
+++ b/kernel/time/sleep_timeout.c
@@ -208,7 +208,7 @@ int __sched schedule_hrtimeout_range_clock(ktime_t *expires, u64 delta,
return -EINTR;
}
- hrtimer_init_sleeper_on_stack(&t, clock_id, mode);
+ hrtimer_setup_sleeper_on_stack(&t, clock_id, mode);
hrtimer_set_expires_range_ns(&t.timer, *expires, delta);
hrtimer_sleeper_start_expires(&t, mode);