[PATCH] [RESEND] powerpc: xmon: use ktime_get_coarse_boottime64
Michael Ellerman
mpe at ellerman.id.au
Thu Jul 12 16:28:18 AEST 2018
Arnd Bergmann <arnd at arndb.de> 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 at gmail.com>
> Signed-off-by: Arnd Bergmann <arnd at 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
More information about the Linuxppc-dev
mailing list