Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 532
b: refs/heads/master
c: 9acf659
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Apr 28, 2005
1 parent bf81ba1 commit 4fdd3c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bdceb6a0162274934386f19f3ea5a9d44feb0b20
refs/heads/master: 9acf6597c533f3d5c991f730c6a1be296679018e
8 changes: 0 additions & 8 deletions trunk/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,14 +516,6 @@ int do_settimeofday (struct timespec *tv)

write_seqlock_irq(&xtime_lock);
{
/*
* This is revolting. We need to set "xtime" correctly. However, the value
* in this location is the value at the most recent update of wall time.
* Discover what correction gettimeofday would have done, and then undo
* it!
*/
nsec -= time_interpolator_get_offset();

wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec);
wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec);

Expand Down

0 comments on commit 4fdd3c0

Please sign in to comment.