Searched hist:f7a753547474eb6bcc1fe8dd46d14eaea93bfe2e (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/video/fbdev/ |
H A D | pxa3xx-gcu.c | diff f7a753547474eb6bcc1fe8dd46d14eaea93bfe2e Thu Jan 04 09:53:49 CST 2018 Arnd Bergmann <arnd@arndb.de> fbdev: pxa3xx: use ktime_get_ts64 for time stamps
do_gettimeofday() is deprecated because it is not y2038 safe, so I'm changing the calculation for the diagnostic output over to using 'timespec64'.
We really only print time deltas here, so changing it to monotonic time makes this more robust, the correct accessor for this is ktime_get_ts64().
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: "Gustavo A. R. Silva" <gustavo@embeddedor.com> Cc: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
|