summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sis
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-11-06 02:05:08 +0100
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-27 18:21:36 +0100
commitfd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec (patch)
tree0523613481a23fa228b57a603c1b69339db9700d /drivers/net/ethernet/sis
parentdrivers/ipmi: Replace synchronize_sched() with synchronize_rcu() (diff)
downloadlinux-fd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec.tar.xz
linux-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.c2
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));