summaryrefslogtreecommitdiff
path: root/kernel/time/time.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2015-07-29 20:09:43 +0800
committerJohn Stultz <john.stultz@linaro.org>2015-08-17 11:25:35 -0700
commit8758a240e2d74c5932ab51a73377e6507b7fd441 (patch)
treef430066a32f00ee1c4e434e51936067e80e618c3 /kernel/time/time.c
parent19a46fe57a005a884ccb38419071f772ac2fca2b (diff)
time: Introduce current_kernel_time64()
The current_kernel_time() is not year 2038 safe on 32bit systems since it returns a timespec value. Introduce current_kernel_time64() which returns a timespec64 value. Cc: Prarit Bhargava <prarit@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/time.c')
0 files changed, 0 insertions, 0 deletions