• P
    rcu: combine duplicate code, courtesy of CONFIG_PREEMPT_RCU · 7b0b759b
    Paul E. McKenney 提交于
    The CONFIG_PREEMPT_RCU kernel configuration parameter was recently
    re-introduced, but as an indication of the type of RCU (preemptible
    vs. non-preemptible) instead of as selecting a given implementation.
    This commit uses CONFIG_PREEMPT_RCU to combine duplicate code
    from include/linux/rcutiny.h and include/linux/rcutree.h into
    include/linux/rcupdate.h.  This commit also combines a few other pieces
    of duplicate code that have accumulated.
    Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    7b0b759b
rcutiny.h 2.9 KB