commit | 2927a689e8ad5c12d6300b41e873d2b7957bc0e1 | [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 May 27 12:58:00 2015 -0700 |
tree | 1356c096fce1bef08241085779ce5cf69a229f9e | |
parent | b28a7c016618e5e32e0703e3dd111dbba02715ff [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>