diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-03-04 16:39:27 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-27 21:57:59 +0200 |
commit | b28a7c016618e5e32e0703e3dd111dbba02715ff (patch) | |
tree | 87f1d54c122911059cfac2b1933ea07b62d6a7de /Documentation/cpuidle | |
parent | rcu: Eliminate a few RCU_BOOST #ifdefs in favor of IS_ENABLED() (diff) | |
download | linux-b28a7c016618e5e32e0703e3dd111dbba02715ff.tar.xz linux-b28a7c016618e5e32e0703e3dd111dbba02715ff.zip |
rcu: Tell the compiler that rcu_state_p is immutable
This commit adds a "const" tag to the declarations of rcu_state_p,
which should allow the compiler to generate better code and also to
catch erroneous assignments to this variable.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/cpuidle')
0 files changed, 0 insertions, 0 deletions