diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-08-10 13:55:03 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 07:42:50 -0700 |
commit | 115f7a7ca0d412aab81acaaaa95eb1ab1c622e2f (patch) | |
tree | 03efa7f9a3f796c88af60a8bf2cc7cdf2885000b /lib/parser.c | |
parent | b065a85354239cc96295f696eeace67ad3a55e5c (diff) | |
download | linux-stable-115f7a7ca0d412aab81acaaaa95eb1ab1c622e2f.tar.gz linux-stable-115f7a7ca0d412aab81acaaaa95eb1ab1c622e2f.tar.bz2 linux-stable-115f7a7ca0d412aab81acaaaa95eb1ab1c622e2f.zip |
rcu: Apply for_each_rcu_flavor() to increment_cpu_stall_ticks()
The increment_cpu_stall_ticks() function listed each RCU flavor
explicitly, with an ifdef to handle preemptible RCU. This commit
therefore applies for_each_rcu_flavor() to save a line of code.
Because this commit switches from a code-based enumeration of the
flavors of RCU to an rcu_state-list-based enumeration, it is no longer
possible to apply __get_cpu_var() to the per-CPU rcu_data structures.
We instead use __this_cpu_var() on the rcu_state structure's ->rda field
that references the corresponding rcu_data structures.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions