timekeeping: Provide ktime_get_with_offset()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:13 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 17:17:58 +0000 (10:17 -0700)
commit0077dc60f274b9a7e9aa705a34784fefb87e0eee
treea4ec63fa3836caf78a9cc6c3bf484bbf883f610d
parenta016a5bd62e29a738531d9d4d925037a1fdb52f5
timekeeping: Provide ktime_get_with_offset()

Provide a helper function which lets us implement ktime_t based
interfaces for real, boot and tai clocks.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/timekeeping.h
kernel/time/timekeeping.c