Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d232dfe authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Remove !PREEMPT code from rcu_note_voluntary_context_switch()



Because RCU-tasks exists only in PREEMPT kernels and because RCU-sched
no longer exists in PREEMPT kernels, it is no longer necessary for the
rcu_note_voluntary_context_switch() macro to do anything for !PREEMPT
kernels.  This commit therefore removes !PREEMPT-related code from
this macro, namely, the rcu_all_qs().

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 06462efc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment