linux/arch/arm64/kernel/vdso
Will Deacon 45a7905fc4 arm64: vdso: defer shifting of nanosecond component of timespec
Shifting the nanosecond component of the computed timespec early can
lead to sub-ns inaccuracies when using the truncated value as input to
further arithmetic for things like conversions to monotonic time.

This patch defers the timespec shifting until after the final value has
been computed.

Reported-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2012-12-05 11:20:03 +00:00
..
.gitignore arm64: VDSO support 2012-09-17 13:42:09 +01:00
gen_vdso_offsets.sh arm64: VDSO support 2012-09-17 13:42:09 +01:00
gettimeofday.S arm64: vdso: defer shifting of nanosecond component of timespec 2012-12-05 11:20:03 +00:00
Makefile arm64: VDSO support 2012-09-17 13:42:09 +01:00
note.S arm64: VDSO support 2012-09-17 13:42:09 +01:00
sigreturn.S arm64: VDSO support 2012-09-17 13:42:09 +01:00
vdso.lds.S arm64: VDSO support 2012-09-17 13:42:09 +01:00
vdso.S arm64: VDSO support 2012-09-17 13:42:09 +01:00