ARM, clocksource/drivers: Provide read_boot_clock64() and read_persistent_clock64...
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 2 Apr 2015 03:34:26 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:23 +0000 (08:18 +0200)
commitcb850717b076d979058d52529e15f1736359d811
treea2780af9ecf4a770aacf4c72b3efa268536c02a3
parenta0c2998f918e7e597d3c686c5f3d5a30d0382dd6
ARM, clocksource/drivers: Provide read_boot_clock64() and read_persistent_clock64() and use them

As part of addressing "y2038 problem" for in-kernel uses, this
patch converts read_boot_clock() to read_boot_clock64() and
read_persistent_clock() to read_persistent_clock64() using
timespec64 by converting clock_access_fn to use timespec64.

Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Thierry Reding <treding@nvidia.com> (for tegra part)
Cc: Russell King <rmk@dyn-67.arm.linux.org.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-7-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/arm/include/asm/mach/time.h
arch/arm/kernel/time.c
arch/arm/plat-omap/counter_32k.c
drivers/clocksource/tegra20_timer.c