diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-03 11:39:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-03 11:48:13 -0700 |
commit | 76e835cf9e553cd9ce8f9cfb33dea37e1f95fd8f (patch) | |
tree | 5b99a1eae8a91d32b9e205b7036b42bc10c90a52 /nptl/sysdeps/sparc/sparc64 | |
parent | 54b71e02837f199b5b1eafcbb3c19b7b81df5561 (diff) | |
download | glibc-76e835cf9e553cd9ce8f9cfb33dea37e1f95fd8f.tar glibc-76e835cf9e553cd9ce8f9cfb33dea37e1f95fd8f.tar.gz glibc-76e835cf9e553cd9ce8f9cfb33dea37e1f95fd8f.tar.bz2 glibc-76e835cf9e553cd9ce8f9cfb33dea37e1f95fd8f.zip |
Fix minor fallout from yesterdays sparc nptl changes.
nptl/
* sysdeps/sparc/sparc64/pthread_spin_unlock.S: Fix thinko, we
always have to return 0, especially for the pthread_spin_init
alias.
* sysdeps/sparc/sparc32/pthread_spin_lock.S: Add missing trailing
newline.
* sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
* sysdeps/sparc/sparc64/pthread_spin_lock.S: Likewise.
Diffstat (limited to 'nptl/sysdeps/sparc/sparc64')
-rw-r--r-- | nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S | 2 | ||||
-rw-r--r-- | nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S b/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S index 5e7b0fade9..cd3b01fcb0 100644 --- a/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S +++ b/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S @@ -28,4 +28,4 @@ ENTRY(pthread_spin_lock) brnz,pt %g1, 2b membar #LoadLoad ba,a,pt %xcc, 1b -END(pthread_spin_lock)
\ No newline at end of file +END(pthread_spin_lock) diff --git a/nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S b/nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S index e668c395c5..4936814cf8 100644 --- a/nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S +++ b/nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S @@ -20,8 +20,9 @@ .text ENTRY(pthread_spin_unlock) membar #StoreStore | #LoadStore + stb %g0, [%o0] retl - stb %g0, [%o0] + clr %o0 END(pthread_spin_unlock) strong_alias (pthread_spin_unlock, pthread_spin_init) |