Fixed pthread_spin_lock on sparc32/64 (bug 16882)release/2.17/master
commit05573613e0b4f99f2718f62957c77d5842df3592
authorGuo Yixuan <culu.gyx@gmail.com>
Tue, 3 Jun 2014 23:19:11 +0000 (3 16:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2014 23:43:08 +0000 (3 16:43 -0700)
tree023dfd10abb3876d1c88ca45a8ddf067a4f00f06
parent8c19f86e356cd28180eb199f07670de5f32f82b9
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]