1
0
Fork 0

ethernet/sis: Replace synchronize_sched() with synchronize_rcu()

Now that synchronize_rcu() waits for preempt-disable regions of code
as well as RCU read-side critical sections, synchronize_sched() can be
replaced by synchronize_rcu().  This commit therefore makes this change.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>
hifive-unleashed-5.1
Paul E. McKenney 2018-11-05 17:05:08 -08:00
parent 17c0eb7415
commit fd8e688b0e
1 changed files with 1 additions and 1 deletions

View File

@ -1142,7 +1142,7 @@ static void sis190_down(struct net_device *dev)
if (!poll_locked)
poll_locked++;
synchronize_sched();
synchronize_rcu();
} while (SIS_R32(IntrMask));