diff options
author | Szabolcs Nagy <nsz@port70.net> | 2014-05-30 13:47:44 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-05-30 13:06:51 -0400 |
commit | fd9571e20a63996f5c0d396a21fdf7077f45d4cb (patch) | |
tree | 18de29b600c62f0f9c8903b508350016a4115dd2 /arch/x32 | |
parent | 24df8b09cfc85f4283283f7543c1be5d496faf09 (diff) | |
download | musl-fd9571e20a63996f5c0d396a21fdf7077f45d4cb.tar.gz musl-fd9571e20a63996f5c0d396a21fdf7077f45d4cb.tar.bz2 musl-fd9571e20a63996f5c0d396a21fdf7077f45d4cb.tar.xz musl-fd9571e20a63996f5c0d396a21fdf7077f45d4cb.zip |
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.
Diffstat (limited to 'arch/x32')
-rw-r--r-- | arch/x32/bits/syscall.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x32/bits/syscall.h b/arch/x32/bits/syscall.h index 95e2d2f7..1c245e7b 100644 --- a/arch/x32/bits/syscall.h +++ b/arch/x32/bits/syscall.h @@ -271,6 +271,9 @@ #define __NR_getcpu (__X32_SYSCALL_BIT + 309) #define __NR_kcmp (__X32_SYSCALL_BIT + 312) #define __NR_finit_module (__X32_SYSCALL_BIT + 313) +#define __NR_sched_setattr (__X32_SYSCALL_BIT + 314) +#define __NR_sched_getattr (__X32_SYSCALL_BIT + 315) + #define __NR_rt_sigaction (__X32_SYSCALL_BIT + 512) #define __NR_rt_sigreturn (__X32_SYSCALL_BIT + 513) #define __NR_ioctl (__X32_SYSCALL_BIT + 514) @@ -591,6 +594,9 @@ #define SYS_getcpu __NR_getcpu #define SYS_kcmp __NR_kcmp #define SYS_finit_module __NR_finit_module +#define SYS_sched_setattr __NR_sched_setattr +#define SYS_sched_getattr __NR_sched_getattr + #define SYS_rt_sigaction __NR_rt_sigaction #define SYS_rt_sigreturn __NR_rt_sigreturn #define SYS_ioctl __NR_ioctl |