]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 27 May 2013 11:55:06 +0000 (04:55 -0700)
commit6332b4a36be75f8dd86080527e4d8dd2f4a175e0
treeb39a3ac652f3df2a5f436212abe463186c21ead1
parentc762eb00242a3cfa1f34746f343499650e7ef973
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>
kernel/rcutiny.c
kernel/rcutiny_plugin.h