• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef ARCH_REGSET
2 # define ARCH_REGSET s390_regset
3 #endif
4 
5 /* Return codes: 1 - ok, 0 - ignore, other - error. */
6 static int
arch_get_scno(struct tcb * tcp)7 arch_get_scno(struct tcb *tcp)
8 {
9 	tcp->scno = ARCH_REGSET.gprs[2] ?
10 		    ARCH_REGSET.gprs[2] : ARCH_REGSET.gprs[1];
11 	return 1;
12 }
13