watchdog: xen: use time64_t for timeouts
authorArnd Bergmann <arnd@arndb.de>
Thu, 19 Oct 2017 15:05:48 +0000 (17:05 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Dec 2017 19:45:12 +0000 (20:45 +0100)
commitb6c84c9ff3f48a476451eceb5e8478b8aadda8dc
tree1380904a407635423caf52480ad944b8c1d4c303
parentfb484262f9ef0d73e0116b942c114bc48c6c7b3b
watchdog: xen: use time64_t for timeouts

The Xen watchdog driver uses __kernel_time_t and ktime_to_timespec()
internally for managing its timeouts. Both are deprecated because of
y2038 problems. The driver itself is fine, since it only uses monotonic
times, but converting it to use ktime_get_seconds() avoids the deprecated
interfaces and is slightly simpler.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/xen_wdt.c