diff options
author | peter <peter@FreeBSD.org> | 2003-06-02 22:30:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-06-02 22:30:59 +0000 |
commit | bc4e199669145fcc65242a12fe314c9e69bbd913 (patch) | |
tree | f024ba8e344bb61eb5b25fdb9c4e9234434da0e3 /lib/libc_r | |
parent | 8f0f81825daca4c7490ab86e1b2f98b82476e9fe (diff) | |
download | FreeBSD-src-bc4e199669145fcc65242a12fe314c9e69bbd913.zip FreeBSD-src-bc4e199669145fcc65242a12fe314c9e69bbd913.tar.gz |
Update for amd64 after repocopy from i386/
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/arch/amd64/_atomic_lock.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc_r/arch/amd64/_atomic_lock.S b/lib/libc_r/arch/amd64/_atomic_lock.S index af49aff..aaab081 100644 --- a/lib/libc_r/arch/amd64/_atomic_lock.S +++ b/lib/libc_r/arch/amd64/_atomic_lock.S @@ -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 |