aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-20 16:28:54 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-20 16:32:46 -0400
commit2008220879af095d00ca27eb168a55c8595fbc0b (patch)
tree9c5fb8b569f4e78c2dbe31cbc83cfed5c713ca68 /drivers
parent1d4ec7b1d6f130818f9b62dea3411d9ee2ff6ff6 (diff)
Revert "sys_time() speedup"
This basically reverts commit 4e44f3497d41db4c3b9051c61410dee8ae4fb49c, while waiting for it to be re-done more completely. There are cases of people mixing "time()" with higher-resolution time sources, and we need to take the nanosecond offsets into account. Ingo has a patch that does that, but it's still under some discussion. In the meantime, just revert back to the old simple situation of just doing the whole exact timesource calculations. But rather than using do_gettimeofday(), use the internal nanosecond resolution getnstimeofday(), which at least avoids one unnecessary conversion (since we really don't care about whether the fractional seconds are nanoseconds or microseconds - we'll just throw them away). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions