Update for amd64 after repocopy from i386/

This commit is contained in:
peter 2003-06-02 22:30:59 +00:00
parent 8f0f81825d
commit bc4e199669

View File

@ -35,8 +35,7 @@
* eax will contain the return value (zero if lock obtained).
*/
ENTRY(_atomic_lock)
movl 4(%esp), %ecx
movl $1, %eax
xchg %eax, (%ecx)
xchgq %rax, (%rdi)
ret