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