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/dwarf2.h>
16 * %esi : memory location to compare
17 * %eax : low 32 bits of old value
18 * %edx : high 32 bits of old value
19 * %ebx : low 32 bits of new value
20 * %ecx : high 32 bits of new value
26 # Emulate 'cmpxchg8b (%esi)' on UP except we don't
27 # set the whole ZF thing (caller will just compare
28 # eax:edx with the expected value)
55 ENDPROC(cmpxchg8b_emu)