summaryrefslogtreecommitdiffstats
path: root/kernel/time/time.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2015-07-29 14:09:43 +0200
committerJohn Stultz <john.stultz@linaro.org>2015-08-17 20:25:35 +0200
commit8758a240e2d74c5932ab51a73377e6507b7fd441 (patch)
treef430066a32f00ee1c4e434e51936067e80e618c3 /kernel/time/time.c
parenttime: Introduce struct itimerspec64 (diff)
downloadlinux-8758a240e2d74c5932ab51a73377e6507b7fd441.tar.xz
linux-8758a240e2d74c5932ab51a73377e6507b7fd441.zip
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