21 Jun, 2016

1 commit

  • 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
    Cc: Richard Cochran
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Signed-off-by: Arnd Bergmann
    Signed-off-by: John Stultz

    Arnd Bergmann
     

22 Nov, 2014

1 commit

  • Kees requested that this test module be renamed for consistency sake,
    so this patch renames the udelay_test.c file (recently added to
    tip/timers/core for 3.17) to test_udelay.c

    Cc: Kees Cook
    Cc: Greg KH
    Cc: Stephen Rothwell
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: Linux-Next
    Cc: David Riley
    Signed-off-by: John Stultz

    John Stultz