Fixed pthread_spin_lock on sparc32/64 (bug 16882)
commitd4deb63367247eaddcbe10b872d39ff70659eaf4
authorGuo Yixuan <culu.gyx@gmail.com>
Tue, 3 Jun 2014 23:19:11 +0000 (3 16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 00:20:08 +0000 (3 17:20 -0700)
tree65cdf3abc4ac8b9548d8b93b25bb0c9d500fe868
parentf2b605ed8882a922c403386b2af7e7a5eecbf39f
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]