diff options
| author | Pavel Tatashin <[email protected]> | 2018-07-25 20:00:18 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-07-30 17:32:29 +0000 |
| commit | 684ad537abff987886d63fb3c573eeca40d7f2db (patch) | |
| tree | 19b1f36de78935005c97516a97f2ab77ea06fc30 /tools/perf/util/llvm-utils.c | |
| parent | sched/clock: Close a hole in sched_clock_init() (diff) | |
| download | kernel-684ad537abff987886d63fb3c573eeca40d7f2db.tar.gz kernel-684ad537abff987886d63fb3c573eeca40d7f2db.zip | |
timekeeping: Prevent false warning when persistent clock is not available
On arches with no persistent clock a message like this is printed during
boot:
[ 0.000000] Persistent clock returned invalid value
The value is not invalid: Zero means that no persistent clock is available
and the absence of persistent clock should be quietly accepted.
Fixes: 3eca993740b8 ("timekeeping: Replace read_boot_clock64() with read_persistent_wall_and_boot_offset()")
Signed-off-by: Pavel Tatashin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions
