summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorChris Metcalf2014-10-02 16:32:15 +0200
committerChris Metcalf2014-10-02 19:56:07 +0200
commit78410af51146796f783925009c8676a30d6c6d90 (patch)
tree9d1acdab6ef79c6ce121c7ea7cd5c90d25d52c2d /drivers/char
parenttile: switch to using seqlocks for the vDSO time code (diff)
downloadkernel-qcow2-linux-78410af51146796f783925009c8676a30d6c6d90.tar.gz
kernel-qcow2-linux-78410af51146796f783925009c8676a30d6c6d90.tar.xz
kernel-qcow2-linux-78410af51146796f783925009c8676a30d6c6d90.zip
tile: add clock_gettime support to vDSO
This change adds support for clock_gettime with CLOCK_REALTIME and CLOCK_MONOTONIC using vDSO. It also updates the vdso struct nomenclature used for the clocks to match the x86 code to keep it easier to update going forward. We also support the *_COARSE clockid_t, for apps that want speed but aren't concerned about fine-grained timestamps; this saves about 20 cycles per call (see http://lwn.net/Articles/342018/). Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Acked-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions