clocksource/drivers/tegra: Provide y2038-safe tegra_read_persistent_clock() replacement
authorXunlei Pang <pang.xunlei@linaro.org>
Thu, 2 Apr 2015 03:34:25 +0000 (20:34 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Apr 2015 06:18:22 +0000 (08:18 +0200)
commita0c2998f918e7e597d3c686c5f3d5a30d0382dd6
tree3463441c1ca89e84d63ccf89caad4156a05cce1a
parenta451570c008b9e19592e29f15cfd295bdf818c7a
clocksource/drivers/tegra: Provide y2038-safe tegra_read_persistent_clock() replacement

As part of addressing "y2038 problem" for in-kernel uses, this
patch adds the y2038-safe tegra_read_persistent_clock64() using
timespec64.

Because we rely on some subsequent changes to convert arm
multiarch support, tegra_read_persistent_clock() will be removed
then.

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>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-6-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/tegra20_timer.c