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