drm/admkfd use modern ktime accessors
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Jul 2018 12:41:00 +0000 (14:41 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 11 Jul 2018 12:41:00 +0000 (14:41 +0200)
commit0337976f40b0a9605c24797762b95b3414619d71
tree5b6a7687d71a3ad85167a9b2529b753319c1f561
parent6d52aacd92c60331ec8c3117522f4301b5195e28
drm/admkfd use modern ktime accessors

getrawmonotonic64() and get_monotonic_boottime64() are deprecated
because of the nonstandard naming.

The replacement functions ktime_get_raw_ns() and ktime_get_boot_ns()
also simplify the callers.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c