From: Richard Cochran Date: Sun, 21 Dec 2014 18:47:06 +0000 (+0100) Subject: timecounter: keep track of accumulated fractional nanoseconds X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~328^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eebdde6528a722fbf8e2cffcf7aa52cbb4c2de0;p=pandora-kernel.git timecounter: keep track of accumulated fractional nanoseconds The current timecounter implementation will drop a variable amount of resolution, depending on the magnitude of the time delta. In other words, reading the clock too often or too close to a time stamp conversion will introduce errors into the time values. This patch fixes the issue by introducing a fractional nanosecond field that accumulates the low order bits. Reported-by: Janusz Użycki Signed-off-by: Richard Cochran Signed-off-by: David S. Miller --- Reading git-diff-tree failed