Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9fad429 authored by Dan McGee's avatar Dan McGee Committed by John Stultz
Browse files

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: default avatarDan McGee <dpmcgee@gmail.com>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 367177e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}