Update for amd64 after repocopy from i386/

This commit is contained in:
Peter Wemm 2003-06-02 22:30:59 +00:00
parent 3aefe09423
commit 19816dec92

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