]> git.baikalelectronics.ru Git - kernel.git/commit
rcu-tasks: Conditionally compile show_rcu_tasks_gp_kthreads()
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 29 May 2020 03:03:48 +0000 (20:03 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:00:22 +0000 (12:00 -0700)
commitc5411467e36a334b85b9bfc27a20b1262b4444da
tree86737bac70ff29c4351db970699c161ffc0f922e
parent605beb67b3f81a0523e14642a85a602f71e53388
rcu-tasks: Conditionally compile show_rcu_tasks_gp_kthreads()

The show_rcu_tasks_gp_kthreads() function is not invoked by Tiny RCU,
but is nevertheless defined in Tiny RCU builds that enable Tasks Trace
RCU.  This commit therefore conditionally compiles this function so
that it is defined only in builds that actually use it.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h