Thread (2 messages) flat view 2 messages, 2 authors, 2018-07-12

Re: [PATCH] [RESEND] powerpc: xmon: use ktime_get_coarse_boottime64

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-07-12 06:28:26
Also in: lkml

Arnd Bergmann [off-list ref] writes:
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.

Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
Originally sent Jun 18, but this hasn't appeared in linux-next yet.

Resending to make sure this is still on the radar. Please apply
to the powerpc git for 4.19
I had applied it but forgot to push.

Should be there today.

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