Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135759
b: refs/heads/master
c: a2a5ac8
h: refs/heads/master
i:
  135757: e1b6e74
  135755: bb33d7b
  135751: 1793d98
  135743: 1416787
v: v3
  • Loading branch information
John Stultz authored and Ingo Molnar committed Feb 26, 2009
1 parent 5eb0328 commit 7a8ad7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 39854fe8c165872d743f6a0c4860ca2de8e45ac9
refs/heads/master: a2a5ac8650b570bea3cb3614f77739dcd07d6632
4 changes: 2 additions & 2 deletions trunk/kernel/time/ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,6 @@ static inline void process_adj_status(struct timex *txc, struct timespec *ts)
time_state = TIME_OK;
time_status = STA_UNSYNC;
}
/* only set allowed bits */
time_status &= STA_RONLY;

/*
* If we turn on PLL adjustments then reset the
Expand All @@ -375,6 +373,8 @@ static inline void process_adj_status(struct timex *txc, struct timespec *ts)
if (!(time_status & STA_PLL) && (txc->status & STA_PLL))
time_reftime = xtime.tv_sec;

/* only set allowed bits */
time_status &= STA_RONLY;
time_status |= txc->status & ~STA_RONLY;

switch (time_state) {
Expand Down

0 comments on commit 7a8ad7c

Please sign in to comment.