Commit fded4329 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390: wire up sys_sched_setattr/sys_sched_getattr

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 4e078146
...@@ -280,6 +280,8 @@ ...@@ -280,6 +280,8 @@
#define __NR_s390_runtime_instr 342 #define __NR_s390_runtime_instr 342
#define __NR_kcmp 343 #define __NR_kcmp 343
#define __NR_finit_module 344 #define __NR_finit_module 344
#define __NR_sched_setattr 345
#define __NR_sched_getattr 346
#define NR_syscalls 345 #define NR_syscalls 345
/* /*
......
...@@ -1412,3 +1412,14 @@ ENTRY(sys_finit_module_wrapper) ...@@ -1412,3 +1412,14 @@ ENTRY(sys_finit_module_wrapper)
llgtr %r3,%r3 # const char __user * llgtr %r3,%r3 # const char __user *
lgfr %r4,%r4 # int lgfr %r4,%r4 # int
jg sys_finit_module jg sys_finit_module
ENTRY(sys_sched_setattr_wrapper)
lgfr %r2,%r2 # pid_t
llgtr %r3,%r3 # struct sched_attr __user *
jg sys_sched_setattr
ENTRY(sys_sched_getattr_wrapper)
lgfr %r2,%r2 # pid_t
llgtr %r3,%r3 # const char __user *
llgfr %r3,%r3 # unsigned int
jg sys_sched_getattr
...@@ -353,3 +353,5 @@ SYSCALL(sys_process_vm_writev,sys_process_vm_writev,compat_sys_process_vm_writev ...@@ -353,3 +353,5 @@ SYSCALL(sys_process_vm_writev,sys_process_vm_writev,compat_sys_process_vm_writev
SYSCALL(sys_ni_syscall,sys_s390_runtime_instr,sys_s390_runtime_instr_wrapper) SYSCALL(sys_ni_syscall,sys_s390_runtime_instr,sys_s390_runtime_instr_wrapper)
SYSCALL(sys_kcmp,sys_kcmp,sys_kcmp_wrapper) SYSCALL(sys_kcmp,sys_kcmp,sys_kcmp_wrapper)
SYSCALL(sys_finit_module,sys_finit_module,sys_finit_module_wrapper) SYSCALL(sys_finit_module,sys_finit_module,sys_finit_module_wrapper)
SYSCALL(sys_sched_setattr,sys_sched_setattr,sys_sched_setattr_wrapper) /* 345 */
SYSCALL(sys_sched_getattr,sys_sched_getattr,sys_sched_getattr_wrapper)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment