OSDN Git Service

igbvf: Use smp_rmb rather than read_barrier_depends
[tomoyo/tomoyo-test1.git] / drivers / net / ethernet / intel / igbvf / netdev.c
index 713e8df..4214c15 100644 (file)
@@ -810,7 +810,7 @@ static bool igbvf_clean_tx_irq(struct igbvf_ring *tx_ring)
                        break;
 
                /* prevent any other reads prior to eop_desc */
-               read_barrier_depends();
+               smp_rmb();
 
                /* if DD is not set pending work has not been completed */
                if (!(eop_desc->wb.status & cpu_to_le32(E1000_TXD_STAT_DD)))