mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 17:21:49 +00:00
time: fix bogus comment in timekeeping_get_ns_raw
The whole point of this function is to return a value not touched by NTP; unfortunately the comment got copied wholesale without adjustment from the timekeeping_get_ns function above. Signed-off-by: Dan McGee <dpmcgee@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
367177e501
commit
c9fad429d4
@ -131,7 +131,7 @@ static inline s64 timekeeping_get_ns_raw(void)
|
||||
/* calculate the delta since the last update_wall_time: */
|
||||
cycle_delta = (cycle_now - clock->cycle_last) & clock->mask;
|
||||
|
||||
/* return delta convert to nanoseconds using ntp adjusted mult. */
|
||||
/* return delta convert to nanoseconds. */
|
||||
return clocksource_cyc2ns(cycle_delta, clock->mult, clock->shift);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user