1 /* Return -1 on error or 1 on success (never 0!). */ 2 static int 3 get_syscall_args(struct tcb *tcp) 4 { 5 tcp->u_arg[0] = s390_regset.orig_gpr2; 6 tcp->u_arg[1] = s390_regset.gprs[3]; 7 tcp->u_arg[2] = s390_regset.gprs[4]; 8 tcp->u_arg[3] = s390_regset.gprs[5]; 9 tcp->u_arg[4] = s390_regset.gprs[6]; 10 tcp->u_arg[5] = s390_regset.gprs[7]; 11 return 1; 12 } 13