Update for amd64 after repocopy from i386/
This commit is contained in:
parent
8f0f81825d
commit
bc4e199669
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user