Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

percpu_refcount: export symbols

Export the interface to be used within modules.

Signed-off-by: Matias Bjorling <m@bjorling.me>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Matias Bjorling and committed by
Linus Torvalds
5e9dd373 84235de3

+3
+3
lib/percpu-refcount.c
··· 53 53 ref->release = release; 54 54 return 0; 55 55 } 56 + EXPORT_SYMBOL_GPL(percpu_ref_init); 56 57 57 58 /** 58 59 * percpu_ref_cancel_init - cancel percpu_ref_init() ··· 85 84 free_percpu(ref->pcpu_count); 86 85 } 87 86 } 87 + EXPORT_SYMBOL_GPL(percpu_ref_cancel_init); 88 88 89 89 static void percpu_ref_kill_rcu(struct rcu_head *rcu) 90 90 { ··· 158 156 159 157 call_rcu_sched(&ref->rcu, percpu_ref_kill_rcu); 160 158 } 159 + EXPORT_SYMBOL_GPL(percpu_ref_kill_and_confirm);