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