arch: Mass conversion of smp_mb__*()
[firefly-linux-kernel-4.4.55.git] / net / core / link_watch.c
index 9c3a839322baccbf69079747a4588079ce46d029..bd0767e6b2b31747a08d02a1f45f7dd733be9a4f 100644 (file)
@@ -147,7 +147,7 @@ static void linkwatch_do_dev(struct net_device *dev)
         * Make sure the above read is complete since it can be
         * rewritten as soon as we clear the bit below.
         */
-       smp_mb__before_clear_bit();
+       smp_mb__before_atomic();
 
        /* We are about to handle this device,
         * so new events can be accepted