• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 static int
arch_set_scno(struct tcb * tcp,kernel_ulong_t scno)2 arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
3 {
4 #ifdef HAVE_GETREGS_OLD
5 	return upoke(tcp, sizeof(long) * PT_R0, scno);
6 #else
7 	ppc_regs.gpr[0] = scno;
8 	return set_regs(tcp->pid);
9 #endif
10 }
11