OSDN Git Service

metag: Add NPTL support
[uclinux-h8/uClibc.git] / libpthread / nptl / sysdeps / metag / pthread_spin_unlock.S
1 !    Copyright (C) 2013 Imagination Technologies Ltd.
2
3 !    Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
4
5         .text
6         .global _pthread_spin_unlock
7         .type   _pthread_spin_unlock,function
8 _pthread_spin_unlock:
9         MOV     D0Re0, #0
10         SETD    [D1Ar1], D0Re0
11         MOV     PC, D1RtP
12         .size   _pthread_spin_unlock,.-_pthread_spin_unlock
13
14         /* The implementation of pthread_spin_init is identical.  */
15         .global  _pthread_spin_init
16 _pthread_spin_init = _pthread_spin_unlock