Skip to content
Commit 3cd4ca47 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 142d106d
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