From: Will Deacon Date: Thu, 29 Nov 2012 22:33:29 +0000 (+0000) Subject: arm64: vdso: defer shifting of nanosecond component of timespec X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~65^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45a7905fc48f6079932e77d64237cf7f008db5f4;p=pandora-kernel.git 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 Signed-off-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed