summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2018-11-14 19:13:02 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2019-05-09 16:26:29 +0100
commita44c1d700c848e221d80aab1029d36a60d21a0f4 (patch)
treeecf033d8da47d219f6e0730dd7b8105c7af7caea /samples
parente93c9c99a629c61837d5a7fc2120cd2b6c70dbdd (diff)
downloadlinux-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