blob: 6aa0a082b821e970b73f7d7dc4fc9e1dcaa2d6a0 [file] [log] [blame]
Elliott Hughese4ffd9f2013-10-01 13:29:43 -07001/* autogenerated by gensyscalls.py */
2#include <asm/unistd.h>
3#include <linux/err.h>
4#include <machine/asm.h>
5
6ENTRY(sched_getparam)
7 movl $__NR_sched_getparam, %eax
8 syscall
9 cmpq $-MAX_ERRNO, %rax
10 jb 1f
11 negl %eax
12 movl %eax, %edi
13 call __set_errno
14 orq $-1, %rax
151:
16 ret
17END(sched_getparam)