time: Expose getboottime64 for in-kernel uses
authorJohn Stultz <john.stultz@linaro.org>
Mon, 8 Dec 2014 20:00:09 +0000 (12:00 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Sat, 24 Jan 2015 01:21:54 +0000 (17:21 -0800)
commitd08c0cdd26d48751c15aa2b4479a410594fee9ac
tree8cba7b361ac9e8cdc99d2b167ba5317c679a8e74
parent8b618628b2bf83512fc8df5e8672619d65adfdfb
time: Expose getboottime64 for in-kernel uses

Adds a timespec64 based getboottime64() implementation
that can be used as we convert internal users of
getboottime away from using timespecs.

Cc: pang.xunlei <pang.xunlei@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/timekeeping.h
kernel/time/timekeeping.c