diff options
author | 2015-03-03 12:56:43 -0800 | |
---|---|---|
committer | 2015-05-27 12:57:59 -0700 | |
commit | e63c887cfed2077b2db29f27024d0a9f88151c40 (patch) | |
tree | d5498ee4107c642216897c9ce841ddae35df5e88 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Convert ACCESS_ONCE() to READ_ONCE() and WRITE_ONCE() (diff) | |
download | wireguard-linux-e63c887cfed2077b2db29f27024d0a9f88151c40.tar.xz wireguard-linux-e63c887cfed2077b2db29f27024d0a9f88151c40.zip |
rcu: Convert from rcu_preempt_state to *rcu_state_p
It would be good to move more code from #ifdef to IS_ENABLED(), but
that does not work if the body of the IS_ENABLED() "if" statement
references a variable (such as rcu_preempt_state) that does not
exist if the IS_ENABLED() Kconfig variable is not set. This commit
therefore substitutes *rcu_state_p for all uses of rcu_preempt_state
in kernel/rcu/tree_preempt.h, which should enable elimination of
a few #ifdefs.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions