mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
af9abd6598
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 nds32 vdso implementation of clock_getres keeping a copy of hrtimer_resolution in vdso data and using that directly. Cc: Greentime Hu <green.hu@gmail.com> Cc: Vincent Chen <deanbo422@gmail.com> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Greentime Hu <greentime@andestech.com> |
||
---|---|---|
.. | ||
.gitignore | ||
datapage.S | ||
gen_vdso_offsets.sh | ||
gettimeofday.c | ||
Makefile | ||
note.S | ||
sigreturn.S | ||
vdso.lds.S | ||
vdso.S |