diff options
| author | Andreea-Cristina Bernat <bernat.ada@gmail.com> | 2014-03-18 20:48:48 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:59:20 +0200 |
| commit | 6934876c476a584242e0b96669df1de1fbcc19c5 (patch) | |
| tree | 4c11ec4af8473fcc3f7eee2b8e95e7f0a27bb883 /include/linux/async.h | |
| parent | 53f0eef6e223c9a8a264bf7fbc27badc90f3a018 (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 'include/linux/async.h')
0 files changed, 0 insertions, 0 deletions
