• Arnd Bergmann's avatar
    timer: Avoid using timespec · 7c71feb0
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    7c71feb0
timer_stats.c 9.97 KB