mirror of git://sourceware.org/git/glibc.git
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.
This commit is contained in:
parent
54b71e0283
commit
76e835cf9e
|
@ -1,3 +1,13 @@
|
||||||
|
2012-05-03 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2012-05-02 David S. Miller <davem@davemloft.net>
|
2012-05-02 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/sparc/sparc64/pthread_spin_lock.S: New.
|
* sysdeps/sparc/sparc64/pthread_spin_lock.S: New.
|
||||||
|
|
|
@ -29,4 +29,4 @@ ENTRY(pthread_spin_lock)
|
||||||
bne,a 2b
|
bne,a 2b
|
||||||
ldub [%o0], %g1
|
ldub [%o0], %g1
|
||||||
ba,a,pt %xcc, 1b
|
ba,a,pt %xcc, 1b
|
||||||
END(pthread_spin_lock)
|
END(pthread_spin_lock)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#include <sparc64/pthread_spin_lock.S>
|
#include <sparc64/pthread_spin_lock.S>
|
||||||
|
|
|
@ -28,4 +28,4 @@ ENTRY(pthread_spin_lock)
|
||||||
brnz,pt %g1, 2b
|
brnz,pt %g1, 2b
|
||||||
membar #LoadLoad
|
membar #LoadLoad
|
||||||
ba,a,pt %xcc, 1b
|
ba,a,pt %xcc, 1b
|
||||||
END(pthread_spin_lock)
|
END(pthread_spin_lock)
|
||||||
|
|
|
@ -20,8 +20,9 @@
|
||||||
.text
|
.text
|
||||||
ENTRY(pthread_spin_unlock)
|
ENTRY(pthread_spin_unlock)
|
||||||
membar #StoreStore | #LoadStore
|
membar #StoreStore | #LoadStore
|
||||||
|
stb %g0, [%o0]
|
||||||
retl
|
retl
|
||||||
stb %g0, [%o0]
|
clr %o0
|
||||||
END(pthread_spin_unlock)
|
END(pthread_spin_unlock)
|
||||||
|
|
||||||
strong_alias (pthread_spin_unlock, pthread_spin_init)
|
strong_alias (pthread_spin_unlock, pthread_spin_init)
|
||||||
|
|
Loading…
Reference in New Issue