]> www.infradead.org Git - users/jedix/linux-maple.git/commit
percpu_ref: reorganize __percpu_ref_switch_to_atomic() and relocate percpu_ref_switch...
authorTejun Heo <tj@kernel.org>
Tue, 29 Sep 2015 21:47:17 +0000 (17:47 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 18 Jun 2017 21:04:01 +0000 (14:04 -0700)
commit8f795fc8c7afaee44dc5466586916997d4b5ee8e
tree9ffde9bbf451c97bdc9a665a9b40751d0a9160bd
parent96334eb6d89797644aa42d56389d6f4907256477
percpu_ref: reorganize __percpu_ref_switch_to_atomic() and relocate percpu_ref_switch_to_atomic()

Reorganize __percpu_ref_switch_to_atomic() so that it looks
structurally similar to __percpu_ref_switch_to_percpu() and relocate
percpu_ref_switch_to_atomic so that the two internal functions are
co-located.

This patch doesn't introduce any functional differences.

Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit b2302c7fdc654d249c546aac6228b8e10969bc1e)

Orabug: 26254388

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
lib/percpu-refcount.c