blob: a1a3fcea7f60c76859d935d8c51076453f93ce5f [file] [log] [blame]
Raghu Gandham1fa0d842012-01-27 17:51:42 -08001/* autogenerated by gensyscalls.py */
Elliott Hughes5c2772f2013-03-21 22:15:06 -07002#include <asm/unistd.h>
Raghu Gandham1fa0d842012-01-27 17:51:42 -08003 .text
Elliott Hughes1f5af922013-10-15 18:01:56 -07004 .globl __rt_sigsuspend
Raghu Gandham1fa0d842012-01-27 17:51:42 -08005 .align 4
Elliott Hughes1f5af922013-10-15 18:01:56 -07006 .ent __rt_sigsuspend
Raghu Gandham1fa0d842012-01-27 17:51:42 -08007
Elliott Hughes1f5af922013-10-15 18:01:56 -07008__rt_sigsuspend:
Raghu Gandham1fa0d842012-01-27 17:51:42 -08009 .set noreorder
10 .cpload $t9
Elliott Hughes1f5af922013-10-15 18:01:56 -070011 li $v0, __NR_rt_sigsuspend
Raghu Gandham1fa0d842012-01-27 17:51:42 -080012 syscall
13 bnez $a3, 1f
14 move $a0, $v0
15 j $ra
16 nop
171:
18 la $t9,__set_errno
19 j $t9
20 nop
21 .set reorder
Elliott Hughes1f5af922013-10-15 18:01:56 -070022 .end __rt_sigsuspend