| commit | 5ee344bd99bd4dc04bc6e8edcad8b800884b6eda | [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> | Tue May 14 10:58:22 2013 -0700 |
| tree | 3f60381543628f17ec770459bbb0d430922a958c | |
| parent | f0323ebc87ddc26e0806ea2c0d2c32f8b7da76de [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>