linux/arch/arm64
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
..
boot arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
configs arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
include arm64: Make !dirty ptes read-only 2012-11-29 15:32:13 +00:00
kernel arm64: vdso: defer shifting of nanosecond component of timespec 2012-12-05 11:20:03 +00:00
lib arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
mm arm64: Convert empty flush_cache_{mm,page} functions to static inline 2012-11-23 18:15:32 +00:00
Kconfig ARM64: Remove incorrect Kconfig symbol HAVE_SPARSE_IRQ 2012-11-29 16:53:35 +00:00
Kconfig.debug arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
Makefile arm64: Build infrastructure 2012-09-17 13:42:21 +01:00