aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/percpu-refcount.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-09-24 13:31:48 -0400
committerTejun Heo <tj@kernel.org>2014-09-24 13:31:48 -0400
commita2237370194484ee6aeeff04b617e4b14d178966 (patch)
tree6870066f892b8ddacb6a899f52e832abd0a92d69 /include/linux/percpu-refcount.h
parent9eca80461a45177e456219a9cd944c27675d6512 (diff)
percpu_ref: relocate percpu_ref_reinit()
percpu_ref is gonna go through restructuring. Move percpu_ref_reinit() after percpu_ref_kill_and_confirm(). This will make later changes easier to follow and result in cleaner organization. Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'include/linux/percpu-refcount.h')
-rw-r--r--include/linux/percpu-refcount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu-refcount.h b/include/linux/percpu-refcount.h
index 5df6784bd9d2..f015f139d491 100644
--- a/include/linux/percpu-refcount.h
+++ b/include/linux/percpu-refcount.h
@@ -68,10 +68,10 @@ struct percpu_ref {
68 68
69int __must_check percpu_ref_init(struct percpu_ref *ref, 69int __must_check percpu_ref_init(struct percpu_ref *ref,
70 percpu_ref_func_t *release, gfp_t gfp); 70 percpu_ref_func_t *release, gfp_t gfp);
71void percpu_ref_reinit(struct percpu_ref *ref);
72void percpu_ref_exit(struct percpu_ref *ref); 71void percpu_ref_exit(struct percpu_ref *ref);
73void percpu_ref_kill_and_confirm(struct percpu_ref *ref, 72void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
74 percpu_ref_func_t *confirm_kill); 73 percpu_ref_func_t *confirm_kill);
74void percpu_ref_reinit(struct percpu_ref *ref);
75 75
76/** 76/**
77 * percpu_ref_kill - drop the initial ref 77 * percpu_ref_kill - drop the initial ref