Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109647
b: refs/heads/master
c: 4ff4b9e
h: refs/heads/master
i:
  109645: bbb0fc7
  109643: a796884
  109639: 6b8f6a2
  109631: 286d33e
v: v3
  • Loading branch information
Maciej W. Rozycki authored and Ingo Molnar committed Sep 6, 2008
1 parent 181d95c commit 217ea37
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 72d43d9bc9210d24d09202eaf219eac09e17b339
refs/heads/master: 4ff4b9e19a80b73959ebeb28d1df40176686f0a8
2 changes: 1 addition & 1 deletion trunk/kernel/time/ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static void sync_cmos_clock(unsigned long dummy)
if (abs(now.tv_nsec - (NSEC_PER_SEC / 2)) <= tick_nsec / 2)
fail = update_persistent_clock(now);

next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec;
next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2);
if (next.tv_nsec <= 0)
next.tv_nsec += NSEC_PER_SEC;

Expand Down

0 comments on commit 217ea37

Please sign in to comment.