about summary refs log tree commit diff
path: root/arch/arm/bits/syscall.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-05-30 13:47:44 +0200
committerRich Felker <dalias@aerifal.cx>2014-05-30 13:06:51 -0400
commitfd9571e20a63996f5c0d396a21fdf7077f45d4cb (patch)
tree18de29b600c62f0f9c8903b508350016a4115dd2 /arch/arm/bits/syscall.h
parent24df8b09cfc85f4283283f7543c1be5d496faf09 (diff)
downloadmusl-fd9571e20a63996f5c0d396a21fdf7077f45d4cb.tar.gz
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/arm/bits/syscall.h')
-rw-r--r--arch/arm/bits/syscall.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/bits/syscall.h b/arch/arm/bits/syscall.h
index dc54bdef..0b6ea7d9 100644
--- a/arch/arm/bits/syscall.h
+++ b/arch/arm/bits/syscall.h
@@ -333,6 +333,8 @@
 #define __NR_process_vm_writev	377
 #define __NR_kcmp		378
 #define __NR_finit_module	379
+#define __NR_sched_setattr	380
+#define __NR_sched_getattr	381
 
 
 /* Repeated with SYS_ prefix */
@@ -672,3 +674,5 @@
 #define SYS_process_vm_writev	377
 #define SYS_kcmp		378
 #define SYS_finit_module	379
+#define SYS_sched_setattr	380
+#define SYS_sched_getattr	381