Home | History | Annotate | Download | only in mips
      1 static void
      2 get_error(struct tcb *tcp, const bool check_errno)
      3 {
      4 	if (mips_REG_A3) {
      5 		tcp->u_rval = -1;
      6 		tcp->u_error = mips_REG_V0;
      7 	} else {
      8 		tcp->u_rval = mips_REG_V0;
      9 	}
     10 }
     11