Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311919
b: refs/heads/master
c: 4873fa0
h: refs/heads/master
i:
  311917: d219be7
  311915: 96c6f92
  311911: 87a001b
  311903: ec38232
v: v3
  • Loading branch information
John Stultz authored and Thomas Gleixner committed Jul 11, 2012
1 parent 6984a27 commit c6f00cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f55a6faa384304c89cfef162768e88374d3312cb
refs/heads/master: 4873fa070ae84a4115f0b3c9dfabc224f1bc7c51
4 changes: 4 additions & 0 deletions trunk/kernel/time/timekeeping.c
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,8 @@ static cycle_t logarithmic_accumulation(cycle_t offset, int shift)
leap = second_overflow(timekeeper.xtime.tv_sec);
timekeeper.xtime.tv_sec += leap;
timekeeper.wall_to_monotonic.tv_sec -= leap;
if (leap)
clock_was_set_delayed();
}

/* Accumulate raw time */
Expand Down Expand Up @@ -1079,6 +1081,8 @@ static void update_wall_time(void)
leap = second_overflow(timekeeper.xtime.tv_sec);
timekeeper.xtime.tv_sec += leap;
timekeeper.wall_to_monotonic.tv_sec -= leap;
if (leap)
clock_was_set_delayed();
}

timekeeping_update(false);
Expand Down

0 comments on commit c6f00cb

Please sign in to comment.