]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/sfc/efx.c
net: fix 64 bit counters on 32 bit arches
[net-next-2.6.git] / drivers / net / sfc / efx.c
index 35b3f2922e5c5097391bc2801069fbe0e3cf8c0c..ba674c5ca29e76a87da30259505b5fa7e0e43098 100644 (file)
@@ -1533,11 +1533,10 @@ static int efx_net_stop(struct net_device *net_dev)
 }
 
 /* Context: process, dev_base_lock or RTNL held, non-blocking. */
-static struct rtnl_link_stats64 *efx_net_stats(struct net_device *net_dev)
+static struct rtnl_link_stats64 *efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats)
 {
        struct efx_nic *efx = netdev_priv(net_dev);
        struct efx_mac_stats *mac_stats = &efx->mac_stats;
-       struct rtnl_link_stats64 *stats = &net_dev->stats64;
 
        spin_lock_bh(&efx->stats_lock);
        efx->type->update_stats(efx);