X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/libsyscall/custom/__thread_selfid.s?ds=sidebyside diff --git a/libsyscall/custom/__thread_selfid.s b/libsyscall/custom/__thread_selfid.s index 5e70787cf..86c17638a 100644 --- a/libsyscall/custom/__thread_selfid.s +++ b/libsyscall/custom/__thread_selfid.s @@ -30,10 +30,18 @@ #if defined(__x86_64__) -__SYSCALL(__thread_selfid, thread_selfid, 1) +__SYSCALL(___thread_selfid, thread_selfid, 0) #elif defined(__i386__) -__SYSCALL_INT(__thread_selfid, thread_selfid, 1) +__SYSCALL_INT(___thread_selfid, thread_selfid, 0) + +#elif defined(__arm__) + +__SYSCALL(___thread_selfid, thread_selfid, 0) + +#elif defined(__arm64__) + +__SYSCALL(___thread_selfid, thread_selfid, 0) #endif