Elliott Hughes | 103ccde | 2013-10-16 14:27:59 -0700 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
2 | |||||
Elliott Hughes | ed74484 | 2013-11-07 10:31:05 -0800 | [diff] [blame] | 3 | #include <private/bionic_asm.h> |
Elliott Hughes | e4ffd9f | 2013-10-01 13:29:43 -0700 | [diff] [blame] | 4 | |
Elliott Hughes | 1195207 | 2013-10-24 15:15:14 -0700 | [diff] [blame] | 5 | ENTRY(__pselect6) |
Elliott Hughes | e4ffd9f | 2013-10-01 13:29:43 -0700 | [diff] [blame] | 6 | movq %rcx, %r10 |
Elliott Hughes | 1195207 | 2013-10-24 15:15:14 -0700 | [diff] [blame] | 7 | movl $__NR_pselect6, %eax |
Elliott Hughes | e4ffd9f | 2013-10-01 13:29:43 -0700 | [diff] [blame] | 8 | syscall |
9 | cmpq $-MAX_ERRNO, %rax | ||||
10 | jb 1f | ||||
11 | negl %eax | ||||
12 | movl %eax, %edi | ||||
13 | call __set_errno | ||||
Elliott Hughes | e4ffd9f | 2013-10-01 13:29:43 -0700 | [diff] [blame] | 14 | 1: |
15 | ret | ||||
Elliott Hughes | 1195207 | 2013-10-24 15:15:14 -0700 | [diff] [blame] | 16 | END(__pselect6) |
Elliott Hughes | d465eb4 | 2014-02-19 18:59:19 -0800 | [diff] [blame] | 17 | .hidden __pselect6 |