OSDN Git Service

sparc: add missing pthread_spin_lock/pthread_spin_trylock
authorWaldemar Brodkorb <wbx@openadk.org>
Thu, 28 Aug 2014 10:31:22 +0000 (12:31 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 28 Aug 2014 11:00:56 +0000 (13:00 +0200)
commit68d700d66bfe498eeccd03ba44dd2081e34441d0
tree7d5971d064e77f6c01fc27c76f03989a8b2a198d
parent10d05ca07c4632e8dfca4877a8fc6a458b8f5810
sparc: add missing pthread_spin_lock/pthread_spin_trylock

tst-spin1.c compile breaks with:
test/nptl/tst-spin1.c:34: undefined reference to `pthread_spin_lock'

pthread_spin_lock and pthread_spin_trylock is missing while
building sparc. add the meta c files here.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libpthread/nptl/sysdeps/sparc/pthread_spin_lock.c [new file with mode: 0644]
libpthread/nptl/sysdeps/sparc/pthread_spin_trylock.c [new file with mode: 0644]