X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..b226f5e54a60dc81db17b1260381d7dbfea3cdf1:/libsyscall/custom/__thread_selfid.s?ds=sidebyside diff --git a/libsyscall/custom/__thread_selfid.s b/libsyscall/custom/__thread_selfid.s index 2c4dd934c..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