]> granicus.if.org Git - strace/commitdiff
2003-01-14 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 23:40:52 +0000 (23:40 +0000)
committerRoland McGrath <roland@redhat.com>
Tue, 14 Jan 2003 23:40:52 +0000 (23:40 +0000)
* linux/syscall.h (SYS_socket_subcall): Only 256 for S390, S390X.
All others at the moment use linux/syscallent.h, where it's 300.

linux/syscall.h

index ed5aaffc4843309d17298c9e095510421a7bf84e..d6d679989a2639bed7aedf9b6c0fc30aa14f810a 100644 (file)
@@ -143,10 +143,10 @@ int sys_osf_utimes();
 #  undef SYS_sendmsg
 #  undef SYS_recvmsg
 # endif /* IA64 */
-# if defined I386 || defined IA64 || defined ARM
-#  define SYS_socket_subcall   300
-# else
+# if defined S390 || defined S390X
 #  define SYS_socket_subcall   256
+# else
+#  define SYS_socket_subcall   300
 # endif
 #define SYS_socket             (SYS_socket_subcall + 1)
 #define SYS_bind               (SYS_socket_subcall + 2)