Messages in this thread | | | From | Balbir Singh <> | Date | Tue, 19 Jun 2018 11:53:03 +1000 | Subject | Re: [PATCH] powerpc: xmon: use ktime_get_coarse_boottime64 |
| |
On Mon, Jun 18, 2018 at 7:56 PM, Arnd Bergmann <arnd@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@arndb.de> > ---
Looks good to me!
Acked-by: Balbir Singh <bsingharora@gmail.com>
Balbir Singh
| |