]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86, asm: Move cmpxchg emulation code to arch/x86/lib
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 28 Jul 2010 23:53:49 +0000 (16:53 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 28 Jul 2010 23:53:49 +0000 (16:53 -0700)
commit90c8f92f5c807807ca74d5f2f313794925174e6b
tree3baa3bc77c7e0e286208d8444adb2f205e87e8bd
parent4532b305e8f0c238dd73048068ff8a6dd1380291
x86, asm: Move cmpxchg emulation code to arch/x86/lib

Move cmpxchg emulation code from arch/x86/kernel/cpu (which is
otherwise CPU identification) to arch/x86/lib, where other emulation
code lives already.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <AANLkTikAmaDPji-TVDarmG1yD=fwbffcsmEU=YEuP+8r@mail.gmail.com>
arch/x86/kernel/cpu/Makefile
arch/x86/lib/Makefile
arch/x86/lib/cmpxchg.c [moved from arch/x86/kernel/cpu/cmpxchg.c with 100% similarity]