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/export.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
25 # Emulate 'cmpxchg8b (%esi)' on UP except we don't
26 # set the whole ZF thing (caller will just compare
27 # eax:edx with the expected value)
51 ENDPROC(cmpxchg8b_emu)
52 EXPORT_SYMBOL(cmpxchg8b_emu)