summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/percpu.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-06-18 01:12:39 +0200
committerTejun Heo <tj@kernel.org>2014-06-18 01:12:39 +0200
commitcadb1c4db2d33e0a818f645cd1963a479dab91e2 (patch)
tree85ed19e54f45c9e918eaf03e3811a83c7848f4c8 /include/asm-generic/percpu.h
parentpercpu: reorder macros in percpu header files (diff)
downloadlinux-cadb1c4db2d33e0a818f645cd1963a479dab91e2.tar.xz
linux-cadb1c4db2d33e0a818f645cd1963a479dab91e2.zip
percpu: use raw_cpu_*() to define __this_cpu_*()
__this_cpu_*() operations are the same as raw_cpu_*() operations except for the added __this_cpu_preempt_check(). Curiously, these were defined using __pcu_size_call_*() instead of being layered on top of raw_cpu_*(). Let's layer them so that __this_cpu_*() are defined in terms of raw_cpu_*(). It's simpler and less error-prone this way. This patch doesn't introduce any functional difference. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Christoph Lameter <cl@linux.com>
Diffstat (limited to 'include/asm-generic/percpu.h')
0 files changed, 0 insertions, 0 deletions