Thread (3 messages) flat view 3 messages, 3 authors, 2018-07-11

Re: powerpc: xmon: use ktime_get_coarse_boottime64

From: Michael Ellerman <hidden>
Date: 2018-07-11 13:24:16
Also in: lkml

On Mon, 2018-06-18 at 09:56:24 UTC, Arnd Bergmann wrote:
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>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f6bd74fa084eb9ad573ffbb236a095

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help