diff options
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index eb1ddebd2c04..c21ca6bfaa66 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -141,11 +141,7 @@ static void hrtimer_get_softirq_time(struct hrtimer_cpu_base *base) | |||
141 | 141 | ||
142 | do { | 142 | do { |
143 | seq = read_seqbegin(&xtime_lock); | 143 | seq = read_seqbegin(&xtime_lock); |
144 | #ifdef CONFIG_NO_HZ | 144 | xts = current_kernel_time(); |
145 | getnstimeofday(&xts); | ||
146 | #else | ||
147 | xts = xtime; | ||
148 | #endif | ||
149 | tom = wall_to_monotonic; | 145 | tom = wall_to_monotonic; |
150 | } while (read_seqretry(&xtime_lock, seq)); | 146 | } while (read_seqretry(&xtime_lock, seq)); |
151 | 147 | ||