time: Add timerkeeper::tkr_raw
authorPeter Zijlstra <peterz@infradead.org>
Thu, 19 Mar 2015 08:28:44 +0000 (09:28 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 27 Mar 2015 08:45:07 +0000 (09:45 +0100)
commit4a4ad80d32cea69ee93bd4589f24dc478804cd80
tree1c559540371e84bfea7d17181e22a49090f8928a
parent876e78818def2983be55878b21f7152fbaebbd36
time: Add timerkeeper::tkr_raw

Introduce tkr_raw and make use of it.

  base_raw -> tkr_raw.base
  clock->{mult,shift} -> tkr_raw.{mult.shift}

Kill timekeeping_get_ns_raw() in favour of
timekeeping_get_ns(&tkr_raw), this removes all mono_raw special
casing.

Duplicate the updates to tkr_mono.cycle_last into tkr_raw.cycle_last,
both need the same value.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20150319093400.422589590@infradead.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/timekeeper_internal.h
kernel/time/timekeeping.c