summaryrefslogtreecommitdiff
path: root/kernel/time/timer_stats.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-06-17 18:03:02 +0200
committerJohn Stultz <john.stultz@linaro.org>2016-06-20 12:47:26 -0700
commit4a19bd3d22d51a0c89db10879dacaffa0f52aecf (patch)
treed6b94fc167155d529e1db63d762a83e01ae462e3 /kernel/time/timer_stats.c
parente6c2682a1da36a2e79d9bab470412374434ce89e (diff)
time: Avoid timespec in udelay_test
udelay_test_single() uses ktime_get_ts() to get two timespec values and calculate the difference between them, while udelay_test_show() uses the same to printk() the current monotonic time. Both of these are y2038 safe on all machines, but we want to get rid of struct timespec anyway, so this converts the code to use ktime_get_ns() and ktime_get_ts64() respectively. 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/timer_stats.c')
0 files changed, 0 insertions, 0 deletions