1 /* Return codes: 1 - ok, 0 - ignore, other - error. */ 2 static int arch_get_scno(struct tcb * tcp)3 arch_get_scno(struct tcb *tcp) 4 { 5 if (upeek(tcp->pid, REG_SYSCALL, &tcp->scno) < 0) 6 return -1; 7 tcp->scno &= 0xffff; 8 return 1; 9 } 10