diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-11-14 20:13:02 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-05-09 17:26:29 +0200 |
commit | a44c1d700c848e221d80aab1029d36a60d21a0f4 (patch) | |
tree | ecf033d8da47d219f6e0730dd7b8105c7af7caea /virt | |
parent | Linux 5.1 (diff) | |
download | linux-a44c1d700c848e221d80aab1029d36a60d21a0f4.tar.xz linux-a44c1d700c848e221d80aab1029d36a60d21a0f4.zip |
ARM: riscpc: replace gettimeoffset() with clocksource
Replace the old gettimeoffset() interface (which became buggy in
several ways) with a clocksource that atomically reads the count
and status from the timer, and corrects the count as appropriate
ensuring proper resolution of time without time warping backwards.
We keep the original periodic timer non-clock event implementation
to provide the kernel with a regular source of interrupts, which
are required to keep the clocksource properly updated.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions