1 static int arch_set_error(struct tcb * tcp)2arch_set_error(struct tcb *tcp) 3 { 4 cris_r10 = -tcp->u_error; 5 return upoke(tcp->pid, 4 * PT_R10, cris_r10); 6 } 7 8 static int arch_set_success(struct tcb * tcp)9arch_set_success(struct tcb *tcp) 10 { 11 cris_r10 = tcp->u_rval; 12 return upoke(tcp->pid, 4 * PT_R10, cris_r10); 13 } 14