• H
    x86, asm: Merge cmpxchg_486_u64() and cmpxchg8b_emu() · a378d933
    H. Peter Anvin 提交于
    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: NH. Peter Anvin <hpa@linux.intel.com>
    LKML-Reference: <AANLkTikAmaDPji-TVDarmG1yD=fwbffcsmEU=YEuP+8r@mail.gmail.com>
    a378d933
cmpxchg_32.h 7.7 KB