aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hrtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hrtimer.h')
-rw-r--r--include/linux/hrtimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 1c0473e8ecb4..95db11f62ff2 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -363,7 +363,7 @@ static inline int hrtimer_start_expires(struct hrtimer *timer,
363 soft = hrtimer_get_softexpires(timer); 363 soft = hrtimer_get_softexpires(timer);
364 hard = hrtimer_get_expires(timer); 364 hard = hrtimer_get_expires(timer);
365 delta = ktime_to_ns(ktime_sub(hard, soft)); 365 delta = ktime_to_ns(ktime_sub(hard, soft));
366 return hrtimer_start_range_ns(timer, hrtimer_get_expires(timer), delta, mode); 366 return hrtimer_start_range_ns(timer, soft, delta, mode);
367} 367}
368 368
369static inline int hrtimer_restart(struct hrtimer *timer) 369static inline int hrtimer_restart(struct hrtimer *timer)