aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/hrtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r--kernel/hrtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c
index eb1ddebd2c04..a7bb05e6cb63 100644
--- a/kernel/hrtimer.c
+++ b/kernel/hrtimer.c
@@ -144,7 +144,7 @@ static void hrtimer_get_softirq_time(struct hrtimer_cpu_base *base)
144#ifdef CONFIG_NO_HZ 144#ifdef CONFIG_NO_HZ
145 getnstimeofday(&xts); 145 getnstimeofday(&xts);
146#else 146#else
147 xts = xtime; 147 xts = current_kernel_time();
148#endif 148#endif
149 tom = wall_to_monotonic; 149 tom = wall_to_monotonic;
150 } while (read_seqretry(&xtime_lock, seq)); 150 } while (read_seqretry(&xtime_lock, seq));