commit | f6bd74fa084eb9ad573ffbb236a095454163f66d | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Mon Jun 18 11:56:24 2018 +0200 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Jul 02 23:54:27 2018 +1000 |
tree | b8a64b7502b15525383afa5dbb66cd43eb3e38fe | |
parent | ee8c446fed99ffdc29dedf7d2a8854f1ea9a1022 [diff] |
powerpc: xmon: use ktime_get_coarse_boottime64 get_monotonic_boottime() is deprecated, and may not be safe to call in every context, as it has to read a hardware clocksource. This changes xmon to print the time using ktime_get_coarse_boottime64() instead, which avoids the old timespec type and the HW access. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>