blob: 3ff47234744783b3849ccc5498dd8a88f98c6876 [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes5c2772f2013-03-21 22:15:06 -07003#include <asm/unistd.h>
Raghu Gandham1fa0d842012-01-27 17:51:42 -08004 .text
Elliott Hughes1f5af922013-10-15 18:01:56 -07005 .globl __rt_sigsuspend
Raghu Gandham1fa0d842012-01-27 17:51:42 -08006 .align 4
Elliott Hughes1f5af922013-10-15 18:01:56 -07007 .ent __rt_sigsuspend
Raghu Gandham1fa0d842012-01-27 17:51:42 -08008
Elliott Hughes1f5af922013-10-15 18:01:56 -07009__rt_sigsuspend:
Raghu Gandham1fa0d842012-01-27 17:51:42 -080010 .set noreorder
11 .cpload $t9
Elliott Hughes1f5af922013-10-15 18:01:56 -070012 li $v0, __NR_rt_sigsuspend
Raghu Gandham1fa0d842012-01-27 17:51:42 -080013 syscall
14 bnez $a3, 1f
15 move $a0, $v0
16 j $ra
17 nop
181:
19 la $t9,__set_errno
20 j $t9
21 nop
22 .set reorder
Elliott Hughes1f5af922013-10-15 18:01:56 -070023 .end __rt_sigsuspend