diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-04-16 16:49:22 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-06-10 22:45:53 +0200 |
commit | 14961444696effb2e660fe876e5c1880f8bc3932 (patch) | |
tree | ab62688a54cd44215b2658dc89f644755215fa16 /Documentation | |
parent | rcu: Shrink TINY_RCU by moving exit_rcu() (diff) | |
download | linux-14961444696effb2e660fe876e5c1880f8bc3932.tar.xz linux-14961444696effb2e660fe876e5c1880f8bc3932.zip |
rcu: Shrink TINY_RCU by reworking CPU-stall ifdefs
TINY_RCU's reset_cpu_stall_ticks() and check_cpu_stalls() functions
are defined unconditionally, and are empty functions if CONFIG_RCU_TRACE
is disabled (which in turns disables detection of RCU CPU stalls).
This commit saves a few lines of source code by defining these functions
only if CONFIG_RCU_TRACE=y.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions