diff options
Diffstat (limited to 'drivers/net/dummy.c')
-rw-r--r-- | drivers/net/dummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index 1656317c96f8..0932ffbf381b 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c | |||
@@ -63,10 +63,10 @@ static struct rtnl_link_stats64 *dummy_get_stats64(struct net_device *dev, | |||
63 | 63 | ||
64 | dstats = per_cpu_ptr(dev->dstats, i); | 64 | dstats = per_cpu_ptr(dev->dstats, i); |
65 | do { | 65 | do { |
66 | start = u64_stats_fetch_begin_bh(&dstats->syncp); | 66 | start = u64_stats_fetch_begin_irq(&dstats->syncp); |
67 | tbytes = dstats->tx_bytes; | 67 | tbytes = dstats->tx_bytes; |
68 | tpackets = dstats->tx_packets; | 68 | tpackets = dstats->tx_packets; |
69 | } while (u64_stats_fetch_retry_bh(&dstats->syncp, start)); | 69 | } while (u64_stats_fetch_retry_irq(&dstats->syncp, start)); |
70 | stats->tx_bytes += tbytes; | 70 | stats->tx_bytes += tbytes; |
71 | stats->tx_packets += tpackets; | 71 | stats->tx_packets += tpackets; |
72 | } | 72 | } |