Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90388
b: refs/heads/master
c: bfebbb8
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Drake authored and Jeff Garzik committed Mar 26, 2008
1 parent 5bd3a53 commit 80af6bb
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3459feb8fc0e2a6d3fe5c6eb8c05cdab2c04871c
refs/heads/master: bfebbb88eca12a01fff1fbee2b8e1a4e932b799b
6 changes: 4 additions & 2 deletions trunk/drivers/net/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3859,7 +3859,8 @@ static void nv_do_stats_poll(unsigned long data)
nv_get_hw_stats(dev);

if (!np->in_shutdown)
mod_timer(&np->stats_poll, jiffies + STATS_INTERVAL);
mod_timer(&np->stats_poll,
round_jiffies(jiffies + STATS_INTERVAL));
}

static void nv_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
Expand Down Expand Up @@ -5063,7 +5064,8 @@ static int nv_open(struct net_device *dev)

/* start statistics timer */
if (np->driver_data & (DEV_HAS_STATISTICS_V1|DEV_HAS_STATISTICS_V2))
mod_timer(&np->stats_poll, jiffies + STATS_INTERVAL);
mod_timer(&np->stats_poll,
round_jiffies(jiffies + STATS_INTERVAL));

spin_unlock_irq(&np->lock);

Expand Down

0 comments on commit 80af6bb

Please sign in to comment.