[PATCH] powerpc: xmon: use ktime_get_coarse_boottime64

Balbir Singh bsingharora at gmail.com
Tue Jun 19 11:53:03 AEST 2018


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

Looks good to me!

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

Balbir Singh


More information about the Linuxppc-dev mailing list