Message ID | 20200917210744.2995-1-paulmck@kernel.org |
---|---|
State | New |
Headers | show |
Series | [tip/core/rcu,1/8] rcu-tasks: Prevent complaints of unused show_rcu_tasks_classic_gp_kthread() | expand |
diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index 835e2df..05d3e13 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h @@ -590,7 +590,7 @@ void exit_tasks_rcu_finish(void) __releases(&tasks_rcu_exit_srcu) } #else /* #ifdef CONFIG_TASKS_RCU */ -static void show_rcu_tasks_classic_gp_kthread(void) { } +static inline void show_rcu_tasks_classic_gp_kthread(void) { } void exit_tasks_rcu_start(void) { } void exit_tasks_rcu_finish(void) { exit_tasks_rcu_finish_trace(current); } #endif /* #else #ifdef CONFIG_TASKS_RCU */