diff options
Diffstat (limited to 'sysdeps/i386/nptl/pthread_spin_unlock.S')
-rw-r--r-- | sysdeps/i386/nptl/pthread_spin_unlock.S | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/i386/nptl/pthread_spin_unlock.S b/sysdeps/i386/nptl/pthread_spin_unlock.S index e7757d0a03..fe46f5ccb1 100644 --- a/sysdeps/i386/nptl/pthread_spin_unlock.S +++ b/sysdeps/i386/nptl/pthread_spin_unlock.S @@ -16,15 +16,14 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ - .globl pthread_spin_unlock - .type pthread_spin_unlock,@function - .align 16 -pthread_spin_unlock: +#include <sysdep.h> + +ENTRY (pthread_spin_unlock) movl 4(%esp), %eax movl $1, (%eax) xorl %eax, %eax ret - .size pthread_spin_unlock,.-pthread_spin_unlock +END (pthread_spin_unlock) /* The implementation of pthread_spin_init is identical. */ .globl pthread_spin_init |