]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/bridge/br_device.c
net: fix 64 bit counters on 32 bit arches
[mv-sheeva.git] / net / bridge / br_device.c
index edf639e962814e355cf1242009bc7fba25c9a3b1..075c435ad22d85810fbeecbae807309cca3582bb 100644 (file)
@@ -98,10 +98,10 @@ static int br_dev_stop(struct net_device *dev)
        return 0;
 }
 
-static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev)
+static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev,
+                                               struct rtnl_link_stats64 *stats)
 {
        struct net_bridge *br = netdev_priv(dev);
-       struct rtnl_link_stats64 *stats = &dev->stats64;
        struct br_cpu_netstats tmp, sum = { 0 };
        unsigned int cpu;