]> git.karo-electronics.de Git - mv-sheeva.git/commit
percpu,x86: relocate this_cpu_add_return() and friends
authorTejun Heo <tj@kernel.org>
Fri, 17 Dec 2010 14:47:04 +0000 (15:47 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 17 Dec 2010 15:13:22 +0000 (16:13 +0100)
commit403047754cf690b012369b8fb563b738b88086e6
treed784465cb02ea3898094ad5aa83566fecb6c7046
parent8f1d97c79eb65de1d05799d6b81d79cd94169114
percpu,x86: relocate this_cpu_add_return() and friends

- include/linux/percpu.h: this_cpu_add_return() and friends were
  located next to __this_cpu_add_return().  However, the overall
  organization is to first group by preemption safeness.  Relocate
  this_cpu_add_return() and friends to preemption-safe area.

- arch/x86/include/asm/percpu.h: Relocate percpu_add_return_op() after
  other more basic operations.  Relocate [__]this_cpu_add_return_8()
  so that they're first grouped by preemption safeness.

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