commit | 4d0da10a9c8ba34f2ae73956c5a444622a5fcfce | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Jul 10 14:00:14 2018 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Jul 10 14:00:14 2018 -0700 |
tree | 57649644c49232f8301771478e7fb4e442c6c628 | |
parent | c155a9e10fd45235f39043c9280d0e0cea89b880 [diff] |
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: Paul E. McKenney <paulmck@linux.vnet.ibm.com>