diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2018-11-14 19:13:02 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-05-09 16:26:29 +0100 |
commit | a44c1d700c848e221d80aab1029d36a60d21a0f4 (patch) | |
tree | ecf033d8da47d219f6e0730dd7b8105c7af7caea /samples | |
parent | e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd (diff) | |
download | linux-a44c1d700c848e221d80aab1029d36a60d21a0f4.tar.bz2 |
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 'samples')
0 files changed, 0 insertions, 0 deletions