diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2014-10-02 18:32:15 +0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2014-10-02 21:56:07 +0400 |
commit | 78410af51146796f783925009c8676a30d6c6d90 (patch) | |
tree | 9d1acdab6ef79c6ce121c7ea7cd5c90d25d52c2d /drivers/base/regmap/regcache.c | |
parent | 94fb1afbcb3e1f8666c9065baded2cb66e72126f (diff) | |
download | linux-78410af51146796f783925009c8676a30d6c6d90.tar.xz |
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/base/regmap/regcache.c')
0 files changed, 0 insertions, 0 deletions