Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189096
b: refs/heads/master
c: 830ec04
h: refs/heads/master
v: v3
  • Loading branch information
John Stultz authored and Thomas Gleixner committed Mar 23, 2010
1 parent f47c92b commit ac01c7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 15365c108ea27598e265f8c13e7051d99ca5b0b9
refs/heads/master: 830ec0458c390f29c6c99e1ff7feab9e36368d12
3 changes: 2 additions & 1 deletion trunk/kernel/time/timekeeping.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,8 @@ void update_wall_time(void)
shift = min(shift, maxshift);
while (offset >= timekeeper.cycle_interval) {
offset = logarithmic_accumulation(offset, shift);
shift--;
if(offset < timekeeper.cycle_interval<<shift)
shift--;
}

/* correct the clock when NTP error is too big */
Expand Down

0 comments on commit ac01c7b

Please sign in to comment.