Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95215
b: refs/heads/master
c: ac0e4b7
h: refs/heads/master
i:
  95213: 473cb4f
  95211: 1ef41c0
  95207: 3f8ef04
  95199: fdbfb75
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Apr 30, 2008
1 parent 03b23b3 commit f7a56a7
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: d6f6341a6475eb7f9c2b948a7d0fd56fd16ad675
refs/heads/master: ac0e4b7d319bf284bb64bc7e1c051417386b34a4
3 changes: 2 additions & 1 deletion trunk/drivers/char/ds1286.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <linux/spinlock.h>
#include <linux/bcd.h>
#include <linux/proc_fs.h>
#include <linux/jiffies.h>

#include <asm/uaccess.h>
#include <asm/system.h>
Expand Down Expand Up @@ -451,7 +452,7 @@ static void ds1286_get_time(struct rtc_time *rtc_tm)
*/

if (ds1286_is_updating() != 0)
while (jiffies - uip_watchdog < 2*HZ/100)
while (time_before(jiffies, uip_watchdog + 2*HZ/100))
barrier();

/*
Expand Down

0 comments on commit f7a56a7

Please sign in to comment.