Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307618
b: refs/heads/master
c: cd5398b
h: refs/heads/master
v: v3
  • Loading branch information
Richard Cochran authored and John Stultz committed May 21, 2012
1 parent a4cbc11 commit 9d6cfaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: dd48d708ff3e917f6d6b6c2b696c3f18c019feed
refs/heads/master: cd5398bed9296d1ddb21630ac17e90cd19a5c62e
6 changes: 2 additions & 4 deletions trunk/kernel/time/ntp.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,6 @@ int second_overflow(unsigned long secs)
<< NTP_SCALE_SHIFT;
time_adjust = 0;



out:
spin_unlock_irqrestore(&ntp_lock, flags);

Expand Down Expand Up @@ -559,10 +557,10 @@ static inline void process_adj_status(struct timex *txc, struct timespec *ts)
/* only set allowed bits */
time_status &= STA_RONLY;
time_status |= txc->status & ~STA_RONLY;

}

/*
* Called with the xtime lock held, so we can access and modify
* Called with ntp_lock held, so we can access and modify
* all the global NTP state:
*/
static inline void process_adjtimex_modes(struct timex *txc, struct timespec *ts)
Expand Down

0 comments on commit 9d6cfaa

Please sign in to comment.