rcu/srcutree: make __call_srcu static
PATCH 1/1 rcu/srcutree: make __call_srcu static
__call_srcu() is only used in current file, just make it static.
Signed-off-by Jiang Biao <[email protected]>
--- kernel/rcu/srcutree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/rcu/srcutree.c +1 -1
@@ -835,7 +835,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;
Signature · 1 line
2.17.2 (Apple Git-113)