]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fixed pthread_spin_lock on sparc32/64 (bug 16882)
authorGuo Yixuan <culu.gyx@gmail.com>
Tue, 3 Jun 2014 23:19:11 +0000 (16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 00:59:10 +0000 (17:59 -0700)
commit344e61df0200af758e794b9843ffb37bd89e5259
treee130289cf9015d25bf414029574e9f2e414bf5cb
parent690bb11f6080800be584d5db7b0b0ff61253c461
Fixed pthread_spin_lock on sparc32/64 (bug 16882)

[BZ #16882]
* nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
(pthread_spin_lock): Branch out of spin loop to proper location.
* nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
(pthread_spin_lock): Likewise.

* nptl/tst-spin4.c: New test.
* nptl/Makefile (tests): Add tst-spin4.
ChangeLog
NEWS
nptl/Makefile
nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
nptl/tst-spin4.c [new file with mode: 0644]