diff options
author | Andreea-Cristina Bernat <bernat.ada@gmail.com> | 2014-03-18 20:48:48 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-04-29 08:45:01 -0700 |
commit | 495aa969dbaef2e3d28094a2b3c752d069932748 (patch) | |
tree | 4ffd39866a013c28d7918986b23b4e4dc8c499f7 /kernel/irq_work.c | |
parent | 595f3900f6b4221403493c530138b8dad2bd87f3 (diff) |
rcu: Consolidate kfree_call_rcu() to use rcu_state pointer
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>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions