Update for amd64 after repocopy from i386/
This commit is contained in:
parent
3aefe09423
commit
19816dec92
@ -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