Commit 11b00045 authored by Jiang Biao's avatar Jiang Biao Committed by Paul E. McKenney
Browse files

rcu: Make __call_srcu static



Because __call_srcu() is not used outside kernel/rcu/srcutree.c,
this commit makes it static.

Signed-off-by: default avatarJiang Biao <benbjiang@tencent.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent 056b89e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -831,7 +831,7 @@ static void srcu_leak_callback(struct rcu_head *rhp)
 * srcu_read_lock(), and srcu_read_unlock() that are all passed the same
 * srcu_struct structure.
 */
void __call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp,
static void __call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp,
			rcu_callback_t func, bool do_norm)
{
	unsigned long flags;