2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; version 2
9 #include <linux/linkage.h>
10 #include <asm/alternative-asm.h>
11 #include <asm/frame.h>
12 #include <asm/dwarf2.h>
19 * %esi : memory location to compare
20 * %eax : low 32 bits of old value
21 * %edx : high 32 bits of old value
22 * %ebx : low 32 bits of new value
23 * %ecx : high 32 bits of new value
29 # Emulate 'cmpxchg8b (%esi)' on UP except we don't
30 # set the whole ZF thing (caller will just compare
31 # eax:edx with the expected value)
57 ENDPROC(cmpxchg8b_emu)