]> asedeno.scripts.mit.edu Git - linux.git/commit
fbdev: pxa3xx: use ktime_get_ts64 for time stamps
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Jan 2018 15:53:49 +0000 (16:53 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 4 Jan 2018 15:53:49 +0000 (16:53 +0100)
commitf7a753547474eb6bcc1fe8dd46d14eaea93bfe2e
tree17b1546af91e11f7d348827307ae2d4e19a3d132
parent63a4be93937c1a6459f9d67b7afeb4e81fa64d2b
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>
drivers/video/fbdev/pxa3xx-gcu.c