]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: use raw_cpu_*() to define __this_cpu_*()
authorTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 23:12:39 +0000 (19:12 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 23:12:39 +0000 (19:12 -0400)
commit921a253d4c3b526cb89e678c94ba15a94e9fde8a
tree85ed19e54f45c9e918eaf03e3811a83c7848f4c8
parent4a0146f9518518e0e29152fe0f06dc7f93c1957c
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>
include/linux/percpu-defs.h