X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/59e0d9fe772464b93d835d2a2964457702469a43..224c70764cab4e0e39a26aaf3ad3016552f62f55:/i386/pthreads/pthread_set_self.s diff --git a/i386/pthreads/pthread_set_self.s b/i386/pthreads/pthread_set_self.s index 6d51d1d..45ae447 100644 --- a/i386/pthreads/pthread_set_self.s +++ b/i386/pthreads/pthread_set_self.s @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -23,6 +21,8 @@ * @APPLE_LICENSE_HEADER_END@ */ +#include + .text .align 2, 0x90 .globl ___pthread_set_self @@ -30,7 +30,6 @@ ___pthread_set_self: pushl 4(%esp) pushl $0 movl $3,%eax - lcall $0x3b,$0 + MACHDEP_SYSCALL_TRAP addl $8,%esp - movw %ax,%gs ret