rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu_expedited()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 29 Nov 2018 18:01:52 +0000 (10:01 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:28:27 +0000 (15:28 -0800)
commit3cd4ca47aa577689c2e6b295d8f52af0e6f26333
tree130cd231642519cc247c0bf5f982630483964525
parent142d106d5e62ff2cf0dfd2dfe1adfcaff1c2ed85
rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu_expedited()

The CONFIG_PREEMPT=n and CONFIG_PREEMPT=y implementations of
synchronize_rcu_expedited() are quite similar, and with small
modifications to rcu_blocking_is_gp() can be made identical.  This commit
therefore makes this change in order to save a few lines of code and to
reduce the amount of duplicate code.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree_exp.h