summaryrefslogtreecommitdiff
path: root/kernel/time/timeconv.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-17 18:30:47 +0300
committerJohn Stultz <john.stultz@linaro.org>2016-06-20 22:47:33 +0300
commit7c71feb0a6766c7c3a262e3cc33ae231f3953cb6 (patch)
tree0013bd8099c1a042faf755da832ca48345b48747 /kernel/time/timeconv.c
parent4a19bd3d22d51a0c89db10879dacaffa0f52aecf (diff)
downloadlinux-7c71feb0a6766c7c3a262e3cc33ae231f3953cb6.tar.xz
timer: Avoid using timespec
The tstats_show() function prints a ktime_t variable by converting it to struct timespec first. The algorithm is ok, but we want to stop using timespec in general because of the 32-bit time_t overflow problem. This changes the code to use struct timespec64, without any functional change. Cc: Prarit Bhargava <prarit@redhat.com> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/timeconv.c')
0 files changed, 0 insertions, 0 deletions