blob: b0fd8d2d351314cfc99f4eadb82a4fc02ec8538e [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.h>
ENTRY(sched_setscheduler)
movl $__NR_sched_setscheduler, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
orq $-1, %rax
1:
ret
END(sched_setscheduler)