sparc: Hook up sched_setattr and sched_getattr syscalls.
authorDavid S. Miller <davem@davemloft.net>
Wed, 29 Jan 2014 08:45:06 +0000 (00:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jan 2014 08:45:06 +0000 (00:45 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/uapi/asm/unistd.h
arch/sparc/kernel/systbls_32.S
arch/sparc/kernel/systbls_64.S

index 62ced589bcf78f1554bcadd4f420fad19c7ebcc1..b73274fb961a27a9b54eb5fd1719650762fef305 100644 (file)
 #define __NR_kern_features     340
 #define __NR_kcmp              341
 #define __NR_finit_module      342
+#define __NR_sched_setattr     343
+#define __NR_sched_getattr     344
 
-#define NR_syscalls            343
+#define NR_syscalls            345
 
 /* Bitmask values returned from kern_features system call.  */
 #define KERN_FEATURE_MIXED_MODE_STACK  0x00000001
index 7b87171ecf1e91803ce0a3908c629118d205c020..151ace8766cc2d99d5be3552a4b2014eb74fdaa6 100644 (file)
@@ -85,4 +85,4 @@ sys_call_table:
 /*325*/        .long sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
 /*330*/        .long sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
 /*335*/        .long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
-/*340*/        .long sys_ni_syscall, sys_kcmp, sys_finit_module
+/*340*/        .long sys_ni_syscall, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
index 6d81597064b6b5c7efa0861fc6c5c230e3c4984f..4bd4e2bb26cf4d35a8980f1a9040cdd88a645a4a 100644 (file)
@@ -86,7 +86,7 @@ sys_call_table32:
        .word compat_sys_pwritev, compat_sys_rt_tgsigqueueinfo, sys_perf_event_open, compat_sys_recvmmsg, sys_fanotify_init
 /*330*/        .word compat_sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime
        .word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev
-/*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module
+/*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
 
 #endif /* CONFIG_COMPAT */
 
@@ -164,4 +164,4 @@ sys_call_table:
        .word sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
 /*330*/        .word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
        .word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
-/*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module
+/*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr