| commit | e146a7892c821eaec417b9eca7ef253bd687acbf | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Apr 16 07:49:22 2013 -0700 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Wed May 15 10:46:15 2013 -0700 |
| tree | 817aacfb66b7974bd85def45dd27951dc03cd929 | |
| parent | 79957c95e947925eedc4b3a6d85a4a328e1e0597 [diff] |
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). These empty functions can add a bit of bloat to TINY_RCU, so this commit reworks the ifdefs so that these functions are defined only if they actually do something. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>