diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-28 17:05:11 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-07-28 17:05:11 -0700 |
commit | a378d9338e8dde78314b3a6ae003de351936c729 (patch) | |
tree | 1f0c947c4c55bbb98c129a260ac604f6b39526ac /virt/kvm | |
parent | 90c8f92f5c807807ca74d5f2f313794925174e6b (diff) |
x86, asm: Merge cmpxchg_486_u64() and cmpxchg8b_emu()
We have two functions for doing exactly the same thing -- emulating
cmpxchg8b on 486 and older hardware -- with different calling
conventions, and yet doing the same thing. Drop the C version and use
the assembly version, via alternatives, for both the local and
non-local versions of cmpxchg8b.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <AANLkTikAmaDPji-TVDarmG1yD=fwbffcsmEU=YEuP+8r@mail.gmail.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions