diff options
author | Arnd Bergmann <[email protected]> | 2018-01-04 16:53:49 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2018-01-04 16:53:49 +0100 |
commit | 63a4be93937c1a6459f9d67b7afeb4e81fa64d2b (patch) | |
tree | 4aeadafeaa7fdfd3c837c37335004d9c92bf0c94 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | defddeff61041dbe2d5bd5469ee48912a89b4118 (diff) |
fbdev: radeon: use ktime_get() for HZ calibration
do_gettimeofday() is deprecated and a bit clumsy. This changes
radeon_probe_pll_params() over to using ktime_get() with monotonic
times. There is no need to check for negative values any more
since the monotonic clocksource cannot go backwards, but I'm
adding a check for zero-division in case of a bad clocksource.
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Colin Ian King <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions