• P
    rcu: Convert from rcu_preempt_state to *rcu_state_p · e63c887c
    Paul E. McKenney 提交于
    It would be good to move more code from #ifdef to IS_ENABLED(), but
    that does not work if the body of the IS_ENABLED() "if" statement
    references a variable (such as rcu_preempt_state) that does not
    exist if the IS_ENABLED() Kconfig variable is not set.  This commit
    therefore substitutes *rcu_state_p for all uses of rcu_preempt_state
    in kernel/rcu/tree_preempt.h, which should enable elimination of
    a few #ifdefs.
    Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    e63c887c
tree_plugin.h 90.1 KB