ethernet/sis: Replace synchronize_sched() with synchronize_rcu()
Subsystems (3)
tip-bot for Paul E. McKenney
merge botCommit-ID: fd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec Gitweb: https://git.kernel.org/tip/fd8e688b0e8cc0c0a8ca18acb69cb8397ed62eec Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 5 Nov 2018 17:05:08 -0800 Committer: Paul E. McKenney <[email protected]> CommitDate: Tue, 27 Nov 2018 09:21:36 -0800
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 <[email protected]>
Cc Francois Romieu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc <[email protected]>
--- drivers/net/ethernet/sis/sis190.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/sis/sis190.c +1 -1
@@ -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));