Re: [PATCH] powerpc: xmon: use ktime_get_coarse_boottime64

From: Balbir Singh
Date: Mon Jun 18 2018 - 21:53:10 EST


On Mon, Jun 18, 2018 at 7:56 PM, Arnd Bergmann <arnd@xxxxxxxx> 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@xxxxxxxx>
> ---

Looks good to me!

Acked-by: Balbir Singh <bsingharora@xxxxxxxxx>

Balbir Singh