--- zzzz-none-000/linux-3.10.107/arch/x86/lib/cmpxchg8b_emu.S 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/x86/lib/cmpxchg8b_emu.S 2021-02-04 17:41:59.000000000 +0000 @@ -7,10 +7,6 @@ */ #include -#include -#include -#include - .text @@ -23,21 +19,19 @@ * %ecx : high 32 bits of new value */ ENTRY(cmpxchg8b_emu) -CFI_STARTPROC # # Emulate 'cmpxchg8b (%esi)' on UP except we don't # set the whole ZF thing (caller will just compare # eax:edx with the expected value) # -cmpxchg8b_emu: pushfl cli cmpl (%esi), %eax - jne not_same + jne .Lnot_same cmpl 4(%esi), %edx - jne half_same + jne .Lhalf_same movl %ebx, (%esi) movl %ecx, 4(%esi) @@ -45,13 +39,12 @@ popfl ret - not_same: +.Lnot_same: movl (%esi), %eax - half_same: +.Lhalf_same: movl 4(%esi), %edx popfl ret -CFI_ENDPROC ENDPROC(cmpxchg8b_emu)