rcu: Remove !PREEMPT code from rcu_note_voluntary_context_switch()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 10 Jul 2018 19:53:40 +0000 (12:53 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 30 Aug 2018 23:03:36 +0000 (16:03 -0700)
commit4d232dfe1df35254298e7986c4de8c9f63f58c79
treeb8f02f4cffc4f50a18d5881f9b7d28953315645c
parent06462efc808c956f462ec5c3b5e10bbee0be2545
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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h