diff options
| author | Vincenzo Frascino <[email protected]> | 2020-03-24 12:10:27 +0000 |
|---|---|---|
| committer | Vasily Gorbik <[email protected]> | 2020-06-16 11:44:05 +0000 |
| commit | 478237a595120a18e9b52fd2c57a6e8b7a01e411 (patch) | |
| tree | fcb7882ee08eb40adf83d5d59763ca111a561ef3 /tools/perf/scripts/python | |
| parent | s390/vdso: Use $(LD) instead of $(CC) to link vDSO (diff) | |
| download | kernel-478237a595120a18e9b52fd2c57a6e8b7a01e411.tar.gz kernel-478237a595120a18e9b52fd2c57a6e8b7a01e411.zip | |
s390/vdso: fix vDSO clock_getres()
clock_getres in the vDSO library has to preserve the same behaviour
of posix_get_hrtimer_res().
In particular, posix_get_hrtimer_res() does:
sec = 0;
ns = hrtimer_resolution;
and hrtimer_resolution depends on the enablement of the high
resolution timers that can happen either at compile or at run time.
Fix the s390 vdso implementation of clock_getres keeping a copy of
hrtimer_resolution in vdso data and using that directly.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vincenzo Frascino <[email protected]>
Acked-by: Martin Schwidefsky <[email protected]>
[[email protected]: use llgf for proper zero extension]
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
