diff options
author | Christoph Lameter <cl@linux.com> | 2011-02-28 11:02:24 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-28 11:20:49 +0100 |
commit | b9ec40af0e18fb7d02106be148036c2ea490fdf9 (patch) | |
tree | 6e9ad8aab6303c40a17467b52c0ac29b3a352d83 /arch/x86/lib/Makefile | |
parent | 7c3343392172ba98d9d90a83edcc4c2e80897009 (diff) | |
download | op-kernel-dev-b9ec40af0e18fb7d02106be148036c2ea490fdf9.zip op-kernel-dev-b9ec40af0e18fb7d02106be148036c2ea490fdf9.tar.gz |
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>
Diffstat (limited to 'arch/x86/lib/Makefile')
-rw-r--r-- | arch/x86/lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index e10cf07..f2479f1 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -42,4 +42,5 @@ else lib-y += memmove_64.o memset_64.o lib-y += copy_user_64.o rwlock_64.o copy_user_nocache_64.o lib-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem_64.o + lib-y += cmpxchg16b_emu.o endif |