rcu: Shrink TINY_RCU by reworking CPU-stall ifdefs
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 16 Apr 2013 14:49:22 +0000 (07:49 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 Jun 2013 20:45:53 +0000 (13:45 -0700)
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>

No differences found