From: Paul E. McKenney Date: Tue, 12 Jun 2012 18:01:13 +0000 (-0700) Subject: rcu: Introduce for_each_rcu_flavor() and use it X-Git-Tag: v3.6-rc1~168^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce75a2326e6f8b3bdfb60e1de7934b89858e87b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed