summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshanlai@gmail.com>2019-10-15 12:28:46 +0200
committerPaul E. McKenney <paulmck@kernel.org>2020-01-24 19:33:38 +0100
commit4778339df0ee361dbf2cbdcb87abaec9dfbc841d (patch)
tree0ead5e627081521d6c4240d5f5f1d81650eee6bc
parentrcu: Fix tracepoint tracking RCU CPU kthread utilization (diff)
downloadlinux-4778339df0ee361dbf2cbdcb87abaec9dfbc841d.tar.xz
linux-4778339df0ee361dbf2cbdcb87abaec9dfbc841d.zip
rcu: Remove the declaration of call_rcu() in tree.h
The call_rcu() function is an external RCU API that is declared in include/linux/rcupdate.h. There is thus no point in redeclaring it in kernel/rcu/tree.h, so this commit removes that redundant declaration. Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com> Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--kernel/rcu/tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index e4dc5debfc84..54ff9896ae31 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -413,7 +413,6 @@ static bool rcu_preempt_has_tasks(struct rcu_node *rnp);
static int rcu_print_task_exp_stall(struct rcu_node *rnp);
static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp);
static void rcu_flavor_sched_clock_irq(int user);
-void call_rcu(struct rcu_head *head, rcu_callback_t func);
static void dump_blkd_tasks(struct rcu_node *rnp, int ncheck);
static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags);
static void rcu_preempt_boost_start_gp(struct rcu_node *rnp);