#define get_syscall_args s390_get_syscall_args #define ARCH_REGSET s390_regset #include "../s390/get_syscall_args.c" #undef ARCH_REGSET #undef get_syscall_args #define get_syscall_args s390x_get_syscall_args #define ARCH_REGSET s390x_regset #include "../s390/get_syscall_args.c" #undef ARCH_REGSET #undef get_syscall_args /* Return -1 on error or 1 on success (never 0!). */ static int get_syscall_args(struct tcb *tcp) { if (tcp->currpers == 1) return s390_get_syscall_args(tcp); else return s390x_get_syscall_args(tcp); }