]> Pileus Git - ~andy/linux/commit
percpu, x86: Add arch-specific this_cpu_cmpxchg_double() support
authorChristoph Lameter <cl@linux.com>
Mon, 28 Feb 2011 10:02:24 +0000 (11:02 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 28 Feb 2011 10:20:49 +0000 (11:20 +0100)
commitb9ec40af0e18fb7d02106be148036c2ea490fdf9
tree6e9ad8aab6303c40a17467b52c0ac29b3a352d83
parent7c3343392172ba98d9d90a83edcc4c2e80897009
percpu, x86: Add arch-specific this_cpu_cmpxchg_double() support

Support this_cpu_cmpxchg_double() using the cmpxchg16b and cmpxchg8b
instructions.

-tj: s/percpu_cmpxchg16b/percpu_cmpxchg16b_double/ for consistency and
     other cosmetic changes.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/percpu.h
arch/x86/lib/Makefile
arch/x86/lib/cmpxchg16b_emu.S [new file with mode: 0644]