]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
percpu: move generic {raw|this}_cpu_*_N() definitions to include/asm-generic/percpu.h
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)
commit47b69ad673d9aa53c1d6032a6a522fc0ce8d6fc1
tree73f5da096b50009412498af666e828a8297e87d5
parentdcba4333683c3a0642fd575e475c6c740122a037
percpu: move generic {raw|this}_cpu_*_N() definitions to include/asm-generic/percpu.h

{raw|this}_cpu_*_N() operations are expected to be provided by archs
and the generic definitions are provided as fallbacks.  As such, these
firmly belong to include/asm-generic/percpu.h.

Move the generic definitions to include/asm-generic/percpu.h.  The
code is moved mostly verbatim; however, raw_cpu_*_N() are placed above
this_cpu_*_N() which is more conventional as the raw operations may be
used to defined other variants.

This is pure reorganization.

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