diff options
author | Christoph Lameter <clameter@engr.sgi.com> | 2005-04-28 11:13:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-28 11:13:58 -0400 |
commit | 9acf6597c533f3d5c991f730c6a1be296679018e (patch) | |
tree | 8e567fd0f45d16c4656e7e9a42c7d4749d19ca48 /lib | |
parent | bdceb6a0162274934386f19f3ea5a9d44feb0b20 (diff) |
[PATCH] time interpolator: Fix settimeofday inaccuracy
settimeofday will set the time a little bit too early on systems using
time interpolation since it subtracts the current interpolator offset
from the time. This used to be necessary with the code in 2.6.9 and earlier
but the new code resets the time interpolator after setting the time.
Thus the time is set too early and gettimeofday will return a time slightly
before the time specified with settimeofday if invoked immeditely after
settimeofday.
This removes the obsolete subtraction of the time interpolator offset
and makes settimeofday set the time accurately.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions