diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-06-12 11:01:13 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-07-02 12:33:24 -0700 |
commit | 6ce75a2326e6f8b3bdfb60e1de7934b89858e87b (patch) | |
tree | c3ecd512422ad9f445f69c78037142a99bc8db2c /fs | |
parent | 1bca8cf1a2c3c6683b12ad28a3e826ca7a834978 (diff) | |
download | kernel_goldelico_gta04-6ce75a2326e6f8b3bdfb60e1de7934b89858e87b.zip kernel_goldelico_gta04-6ce75a2326e6f8b3bdfb60e1de7934b89858e87b.tar.gz kernel_goldelico_gta04-6ce75a2326e6f8b3bdfb60e1de7934b89858e87b.tar.bz2 |
rcu: Introduce for_each_rcu_flavor() and use it
The arrival of TREE_PREEMPT_RCU some years back included some ugly
code involving either #ifdef or #ifdef'ed wrapper functions to iterate
over all non-SRCU flavors of RCU. This commit therefore introduces
a for_each_rcu_flavor() iterator over the rcu_state structures for each
flavor of RCU to clean up a bit of the ugliness.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions