timer: Avoid using timespec
authorArnd Bergmann <arnd@arndb.de>
Fri, 17 Jun 2016 15:30:47 +0000 (17:30 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 20 Jun 2016 19:47:33 +0000 (12:47 -0700)
commit7c71feb0a6766c7c3a262e3cc33ae231f3953cb6
tree0013bd8099c1a042faf755da832ca48345b48747
parent4a19bd3d22d51a0c89db10879dacaffa0f52aecf
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>
kernel/time/timer_stats.c