diff options
author | Paul E. McKenney | 2015-03-03 14:49:26 -0800 |
---|---|---|
committer | Paul E. McKenney | 2015-05-27 12:57:59 -0700 |
commit | 727b705baf7d091a9bc5494d7f1d9699b6932531 (patch) | |
tree | c89b9bb4fa1e684c43bcad4c79bb6b878c57976b /samples | |
parent | e63c887cfed2077b2db29f27024d0a9f88151c40 (diff) |
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 'samples')
0 files changed, 0 insertions, 0 deletions