diff options
author | 2015-03-03 14:49:26 -0800 | |
---|---|---|
committer | 2015-05-27 12:57:59 -0700 | |
commit | 727b705baf7d091a9bc5494d7f1d9699b6932531 (patch) | |
tree | c89b9bb4fa1e684c43bcad4c79bb6b878c57976b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rcu: Convert from rcu_preempt_state to *rcu_state_p (diff) | |
download | wireguard-linux-727b705baf7d091a9bc5494d7f1d9699b6932531.tar.xz wireguard-linux-727b705baf7d091a9bc5494d7f1d9699b6932531.zip |
rcu: Eliminate a few RCU_BOOST #ifdefs in favor of IS_ENABLED()
This commit removes a few RCU_BOOST #ifdefs, replacing them with
IS_ENABLED()-protected return statements. This relies on the
optimizer to remove any resulting dead code. There are several other
RCU_BOOST #ifdefs, however these rely on some per-CPU variables that
are available only under RCU_BOOST. These might be converted later,
if the simplification proves to outweigh the increase in memory footprint.
One hoped-for advantage is more easily locating compiler errors in
obscure combinations of Kconfig parameters.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: <linux-rt-users@vger.kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions