percpu: move accessors from include/linux/percpu.h to percpu-defs.h
authorTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 23:12:34 +0000 (19:12 -0400)
committerTejun Heo <tj@kernel.org>
Tue, 17 Jun 2014 23:12:34 +0000 (19:12 -0400)
commit9defda18f913181debfe7cdc8c0a752f707ac861
tree68cd16a060d3350883a17eae4757620472fa66a1
parent62fde54123fb64879326c8b71c3f92cc5db1c452
percpu: move accessors from include/linux/percpu.h to percpu-defs.h

include/linux/percpu-defs.h is gonna host all accessors and operations
so that arch headers can make use of them too without worrying about
circular dependency through include/linux/percpu.h.

This patch moves the following accessors from include/linux/percpu.h
to include/linux/percpu-defs.h.

* get/put_cpu_var()
* get/put_cpu_ptr()
* per_cpu_ptr()

This is pure reorgniazation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Christoph Lameter <cl@linux.com>
include/linux/percpu-defs.h
include/linux/percpu.h