]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/custom/__thread_selfid.s
xnu-4903.270.47.tar.gz
[apple/xnu.git] / libsyscall / custom / __thread_selfid.s
index 2c4dd934c268b815ebfcec40b55d48f43e6fa7c8..86c17638aaf8070ca86b1d991a1ad8070d1fce6f 100644 (file)
 
 #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