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

Re: [PATCH] powerpc: xmon: use ktime_get_coarse_boottime64

From: Balbir Singh <bsingharora@gmail.com>
Date: 2018-06-19 01:53:29
Also in: lkml

On Mon, Jun 18, 2018 at 7:56 PM, Arnd Bergmann [off-list ref] 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>
---
Looks good to me!

Acked-by: Balbir Singh <bsingharora@gmail.com>

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