Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91375
b: refs/heads/master
c: b132fba
h: refs/heads/master
i:
  91373: c6b1ee9
  91371: 30f75fe
  91367: b09029e
  91359: 13eb3fc
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Apr 20, 2008
1 parent afae6e4 commit 4fd2bda
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: 420635f517cf1bb8929caf80ce5a30e827b9df42
refs/heads/master: b132fba18bb5e30ed13ce3c623c18eb1e5795534
3 changes: 2 additions & 1 deletion trunk/drivers/net/appletalk/cops.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ static const char *version =
#include <linux/atalk.h>
#include <linux/spinlock.h>
#include <linux/bitops.h>
#include <linux/jiffies.h>

#include <asm/system.h>
#include <asm/io.h>
Expand Down Expand Up @@ -503,7 +504,7 @@ static void cops_reset(struct net_device *dev, int sleep)
long snap=jiffies;

/* Let card finish initializing, about 1/3 second */
while(jiffies-snap<HZ/3)
while (time_before(jiffies, snap + HZ/3))
schedule();
}
else
Expand Down

0 comments on commit 4fd2bda

Please sign in to comment.