]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/custom/__sigreturn.s
xnu-1699.32.7.tar.gz
[apple/xnu.git] / libsyscall / custom / __sigreturn.s
index 64a4adb57452bedfbb44f71b39b06b1ea5274a88..16d5be4fca31d4d3f1a490dc411f7dda4cd692c0 100644 (file)
 
 #include "SYS.h"
 
-#if defined(__ppc__) || defined(__ppc64__) || defined(__x86_64__)
+#if defined(__x86_64__)
 
-__SYSCALL(__sigreturn, sigreturn, 2)
+__SYSCALL(___sigreturn, sigreturn, 2)
 
 #elif defined(__i386__)
 
-__SYSCALL_INT(__sigreturn, sigreturn, 2)
-
-#elif defined(__arm__)
-
-__SYSCALL(__sigreturn, sigreturn, 2)
+__SYSCALL_INT(___sigreturn, sigreturn, 2)
 
 #else
 #error Unsupported architecture