]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86_64/syscalls/__sched_getaffinity.S
am e365f284: am f27cc051: am 806f3bd7: Upgrade to tzdata2013i.
[android-sdk/platform-bionic.git] / libc / arch-x86_64 / syscalls / __sched_getaffinity.S
1 /* Generated by gensyscalls.py. Do not edit. */
3 #include <private/bionic_asm.h>
5 ENTRY(__sched_getaffinity)
6     movl    $__NR_sched_getaffinity, %eax
7     syscall
8     cmpq    $-MAX_ERRNO, %rax
9     jb      1f
10     negl    %eax
11     movl    %eax, %edi
12     call    __set_errno
13     orq     $-1, %rax
14 1:
15     ret
16 END(__sched_getaffinity)
17 .hidden __sched_getaffinity