clarify the purpose of this project
[nyanglibc.git] / posix / sched_rr_gi.s
blob364e192e9e479585fe5b44b31fccd10926059c53
1 .text
2 .p2align 4,,15
3 .globl __sched_rr_get_interval
4 .type __sched_rr_get_interval, @function
5 __sched_rr_get_interval:
6 movl $148, %eax
7 #APP
8 # 31 "../sysdeps/unix/sysv/linux/sched_rr_gi.c" 1
9 syscall
11 # 0 "" 2
12 #NO_APP
13 cmpq $-4096, %rax
14 ja .L5
15 rep ret
16 .p2align 4,,10
17 .p2align 3
18 .L5:
19 movq __libc_errno@gottpoff(%rip), %rdx
20 negl %eax
21 movl %eax, %fs:(%rdx)
22 movl $-1, %eax
23 ret
24 .size __sched_rr_get_interval, .-__sched_rr_get_interval
25 .globl sched_rr_get_interval
26 .set sched_rr_get_interval,__sched_rr_get_interval