diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2018-06-18 11:56:24 +0200 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-02 23:54:27 +1000 |
| commit | f6bd74fa084eb9ad573ffbb236a095454163f66d (patch) | |
| tree | b8a64b7502b15525383afa5dbb66cd43eb3e38fe /scripts | |
| parent | powerpc/eeh: Avoid misleading message "EEH: no capable adapters found" (diff) | |
| download | linux-f6bd74fa084eb9ad573ffbb236a095454163f66d.tar.gz linux-f6bd74fa084eb9ad573ffbb236a095454163f66d.zip | |
powerpc: xmon: use ktime_get_coarse_boottime64
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>
Acked-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
