net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers).
[sfrench/cifs-2.6.git] / drivers / net / ethernet / nvidia / forcedeth.c
index daa028729d444a7b51f056868d4b12e92acf6adf..0605d1ee490dd0599dc6d69b31a52955d71ef9c8 100644 (file)
@@ -1734,12 +1734,12 @@ static void nv_get_stats(int cpu, struct fe_priv *np,
        u64 tx_packets, tx_bytes, tx_dropped;
 
        do {
-               syncp_start = u64_stats_fetch_begin_irq(&np->swstats_rx_syncp);
+               syncp_start = u64_stats_fetch_begin(&np->swstats_rx_syncp);
                rx_packets       = src->stat_rx_packets;
                rx_bytes         = src->stat_rx_bytes;
                rx_dropped       = src->stat_rx_dropped;
                rx_missed_errors = src->stat_rx_missed_errors;
-       } while (u64_stats_fetch_retry_irq(&np->swstats_rx_syncp, syncp_start));
+       } while (u64_stats_fetch_retry(&np->swstats_rx_syncp, syncp_start));
 
        storage->rx_packets       += rx_packets;
        storage->rx_bytes         += rx_bytes;
@@ -1747,11 +1747,11 @@ static void nv_get_stats(int cpu, struct fe_priv *np,
        storage->rx_missed_errors += rx_missed_errors;
 
        do {
-               syncp_start = u64_stats_fetch_begin_irq(&np->swstats_tx_syncp);
+               syncp_start = u64_stats_fetch_begin(&np->swstats_tx_syncp);
                tx_packets  = src->stat_tx_packets;
                tx_bytes    = src->stat_tx_bytes;
                tx_dropped  = src->stat_tx_dropped;
-       } while (u64_stats_fetch_retry_irq(&np->swstats_tx_syncp, syncp_start));
+       } while (u64_stats_fetch_retry(&np->swstats_tx_syncp, syncp_start));
 
        storage->tx_packets += tx_packets;
        storage->tx_bytes   += tx_bytes;