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:
David S. Miller 2012-05-03 11:39:49 -07:00
parent 54b71e0283
commit 76e835cf9e
5 changed files with 15 additions and 4 deletions

View File

@ -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>
* sysdeps/sparc/sparc64/pthread_spin_lock.S: New.

View File

@ -29,4 +29,4 @@ ENTRY(pthread_spin_lock)
bne,a 2b
ldub [%o0], %g1
ba,a,pt %xcc, 1b
END(pthread_spin_lock)
END(pthread_spin_lock)

View File

@ -1 +1 @@
#include <sparc64/pthread_spin_lock.S>
#include <sparc64/pthread_spin_lock.S>

View File

@ -28,4 +28,4 @@ ENTRY(pthread_spin_lock)
brnz,pt %g1, 2b
membar #LoadLoad
ba,a,pt %xcc, 1b
END(pthread_spin_lock)
END(pthread_spin_lock)

View File

@ -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)