On Fri, Jun 17, 2016 at 9:03 AM, Arnd Bergmann arnd@arndb.de 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@arndb.de
Queued for testing
thanks -john