blob: 5ee090d2b80664cfc297d70abc7c1c89e2202c7c [file] [log] [blame]
Chris Dearman50432122014-02-05 16:59:23 -08001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08003#include <private/bionic_asm.h>
Chris Dearman50432122014-02-05 16:59:23 -08004
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08005ENTRY(__waitid)
Chris Dearman50432122014-02-05 16:59:23 -08006 .set push
7 .set noreorder
8 li v0, __NR_waitid
9 syscall
10 bnez a3, 1f
11 move a0, v0
12 j ra
13 nop
141:
15 move t0, ra
16 bal 2f
17 nop
182:
19 .cpsetup ra, t1, 2b
Elliott Hughes7efad832014-09-08 15:25:01 -070020 LA t9,__set_errno_internal
Chris Dearman50432122014-02-05 16:59:23 -080021 .cpreturn
22 j t9
23 move ra, t0
24 .set pop
Elliott Hughes9abbbdc2014-02-19 14:54:31 -080025END(__waitid)
Elliott Hughesd465eb42014-02-19 18:59:19 -080026.hidden __waitid