OSDN Git Service

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)
commit8344496e8b49c4122c1808d6cd3f8dc71bccb595
tree86737bac70ff29c4351db970699c161ffc0f922e
parent5b3cc99bedf5885055fbaf35fe63d205f06b5be5
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