Re: [PATCH] time: avoid timespec in udelay_test

From: John Stultz
Date: Fri Jun 17 2016 - 16:50:27 EST


On Fri, Jun 17, 2016 at 9:03 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> 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.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Queued for testing

thanks
-john