BACKPORT: timekeeping: Use tk_read_base as argument for timekeeping_get_ns()

All the function needs is in the tk_read_base struct. No functional
change for the current code, just a preparatory patch for the NMI safe
accessor to clock monotonic which will use struct tk_read_base as well.

BUG=chromium:324025
TEST=build/boot 3.8 on link

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
(cherry picked from commit 0e5ac3a8b100469ea154f87dd57b685fbdd356f6)
[SR: conflicts from new ktime_* functions we don't have and
    restructuring of ktime_get_update_offsets() function and
    restructuring of get_monotonic_bootime() function]
Conflicts:
	kernel/time/timekeeping.c

Change-Id: If2b0bd3c0d1e04449cb7872f00f54e434d6be8f1
Reviewed-on: https://chromium-review.googlesource.com/300781
Commit-Ready: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-by: Olof Johansson <olofj@chromium.org>
1 file changed