mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 09:46:46 +07:00
5522634562
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 powerpc vdso implementation of clock_getres keeping a copy of
hrtimer_resolution in vdso data and using that directly.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
cacheflush.S | ||
datapage.S | ||
getcpu.S | ||
gettimeofday.S | ||
Makefile | ||
note.S | ||
sigtramp.S | ||
vdso32_wrapper.S | ||
vdso32.lds.S |