commit | a56e08bbc86cffe3e8ce718efb9585a3188d0f48 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Mar 04 07:53:04 2015 -0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed Mar 04 09:39:51 2015 -0800 |
tree | bef31f915ba940a66a3204fed2a6c9435262cf94 | |
parent | 537f16a641d21f756a8658b888529cb5d461db8c [diff] |
rcu: Create an immutable rcu_data_p pointer to default rcu_data structure This commit creates an immutable rcu_data_p pointer that references rcu_preempt_data for TREE_PREEMPT_RCU builds and that references rcu_sched_data for TREE_RCU builds. This rcu_data_p pointer will enable more code to move from #ifdef to IS_ENABLED(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>