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

Commit 395a2f09 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Define rcu_all_qs() only in !PREEMPT builds



Now that rcu_all_qs() is used only in !PREEMPT builds, move it to
tree_plugin.h so that it is defined only in those builds.  This in
turn means that rcu_momentary_dyntick_idle() is only used in !PREEMPT
builds, but it is simply marked __maybe_unused in order to keep it
near the rest of the dyntick-idle code.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 4d232dfe
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