From fd9571e20a63996f5c0d396a21fdf7077f45d4cb Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 30 May 2014 13:47:44 +0200 Subject: add sched_{get,set}attr syscall numbers and SCHED_DEADLINE macro linux 3.14 introduced sched_getattr and sched_setattr syscalls in commit d50dde5a10f305253cbc3855307f608f8a3c5f73 and the related SCHED_DEADLINE scheduling policy in commit aab03e05e8f7e26f51dee792beddcb5cca9215a5 but struct sched_attr "extended scheduling parameters data structure" is not yet exported to userspace (necessary for using the syscalls) so related uapi definitions are not added yet. --- arch/x86_64/bits/syscall.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/x86_64') diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h index 5eb9b830..7bcb711b 100644 --- a/arch/x86_64/bits/syscall.h +++ b/arch/x86_64/bits/syscall.h @@ -312,6 +312,8 @@ #define __NR_process_vm_writev 311 #define __NR_kcmp 312 #define __NR_finit_module 313 +#define __NR_sched_setattr 314 +#define __NR_sched_getattr 315 #undef __NR_fstatat #undef __NR_pread @@ -641,6 +643,8 @@ #define SYS_process_vm_writev 311 #define SYS_kcmp 312 #define SYS_finit_module 313 +#define SYS_sched_setattr 314 +#define SYS_sched_getattr 315 #undef SYS_fstatat #undef SYS_pread -- cgit v1.2.1