diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-05 17:05:08 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-27 09:21:36 -0800 |
commit | fd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec (patch) | |
tree | 0523613481a23fa228b57a603c1b69339db9700d /drivers/net/ethernet/sis | |
parent | 17c0eb74151ead3a7068e1691998de9950e91a08 (diff) | |
download | lwn-fd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec.tar.gz lwn-fd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/sis')
-rw-r--r-- | drivers/net/ethernet/sis/sis190.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sis/sis190.c b/drivers/net/ethernet/sis/sis190.c index c2c50522b96d..808cf9816673 100644 --- a/drivers/net/ethernet/sis/sis190.c +++ b/drivers/net/ethernet/sis/sis190.c @@ -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)); |