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

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