|
@@ -401,7 +401,10 @@ static __always_inline u64 __ktime_get_fast_ns(struct tk_fast *tkf)
|
|
|
do {
|
|
|
seq = raw_read_seqcount_latch(&tkf->seq);
|
|
|
tkr = tkf->base + (seq & 0x01);
|
|
|
- now = ktime_to_ns(tkr->base) + timekeeping_get_ns(tkr);
|
|
|
+ now = ktime_to_ns(tkr->base);
|
|
|
+
|
|
|
+ now += clocksource_delta(tkr->read(tkr->clock),
|
|
|
+ tkr->cycle_last, tkr->mask);
|
|
|
} while (read_seqcount_retry(&tkf->seq, seq));
|
|
|
|
|
|
return now;
|