495aa969db
kfree_call_rcu is defined two times. When defined under CONFIG_TREE_PREEMPT_RCU, it uses rcu_preempt_state. Otherwise, it uses rcu_sched_state. This patch uses the rcu_state_pointer to combine the two definitions into one. The resulting function is placed after the closing of the preprocessor conditional CONFIG_TREE_PREEMPT_RCU. Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> |
||
---|---|---|
.. | ||
Makefile | ||
rcu.h | ||
rcutorture.c | ||
srcu.c | ||
tiny_plugin.h | ||
tiny.c | ||
tree_plugin.h | ||
tree_trace.c | ||
tree.c | ||
tree.h | ||
update.c |