aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/forcedeth.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 6f7e3fde9e7c..0272afbdff37 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -3859,7 +3859,8 @@ static void nv_do_stats_poll(unsigned long data)
3859 nv_get_hw_stats(dev); 3859 nv_get_hw_stats(dev);
3860 3860
3861 if (!np->in_shutdown) 3861 if (!np->in_shutdown)
3862 mod_timer(&np->stats_poll, jiffies + STATS_INTERVAL); 3862 mod_timer(&np->stats_poll,
3863 round_jiffies(jiffies + STATS_INTERVAL));
3863} 3864}
3864 3865
3865static void nv_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) 3866static void nv_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
@@ -5063,7 +5064,8 @@ static int nv_open(struct net_device *dev)
5063 5064
5064 /* start statistics timer */ 5065 /* start statistics timer */
5065 if (np->driver_data & (DEV_HAS_STATISTICS_V1|DEV_HAS_STATISTICS_V2)) 5066 if (np->driver_data & (DEV_HAS_STATISTICS_V1|DEV_HAS_STATISTICS_V2))
5066 mod_timer(&np->stats_poll, jiffies + STATS_INTERVAL); 5067 mod_timer(&np->stats_poll,
5068 round_jiffies(jiffies + STATS_INTERVAL));
5067 5069
5068 spin_unlock_irq(&np->lock); 5070 spin_unlock_irq(&np->lock);
5069 5071