percpu: Replace smp_read_barrier_depends() with lockless_dereference()
authorPranith Kumar <bobby.prani@gmail.com>
Fri, 21 Nov 2014 15:05:59 +0000 (10:05 -0500)
committerTejun Heo <tj@kernel.org>
Sat, 22 Nov 2014 14:33:17 +0000 (09:33 -0500)
commiteadac03e898617521f327faf265932b73ecc3e0f
tree955dd7f66024f1088e7672ca7a9bf9984a08f2e6
parentcceb9bd63373061ad7b75c321808a2fb11c86545
percpu: Replace smp_read_barrier_depends() with lockless_dereference()

Recently lockless_dereference() was added which can be used in place of
hard-coding smp_read_barrier_depends(). The following PATCH makes the change.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/percpu-refcount.h