| commit | fb7655b0a15a5ba6195d95853ef8cbc5fd127119 | [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> | Mon May 13 10:53:58 2013 -0700 |
| tree | 3f60381543628f17ec770459bbb0d430922a958c | |
| parent | 56c41dc5cecb08d92166ff902c6ea28fbcd0f60f [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>