powerpc: xmon: use ktime_get_coarse_boottime64

Michael Ellerman patch-notifications at ellerman.id.au
Wed Jul 11 23:24:10 AEST 2018


On Mon, 2018-06-18 at 09:56:24 UTC, Arnd Bergmann 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>
> Acked-by: Balbir Singh <bsingharora at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f6bd74fa084eb9ad573ffbb236a095

cheers


More information about the Linuxppc-dev mailing list