aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2014-01-31 16:29:17 -0500
committerHelge Deller <deller@gmx.de>2014-02-02 14:57:25 -0500
commit998bbb2fc028b5cf37008ff8450391d94fe727f3 (patch)
tree87a61067e358fccf086415e7b0bf5059367a0343 /arch/parisc
parent57737c49dd72c96cfbcd4f66559f3ffc399aeb4f (diff)
parisc: wire up sched_setattr and sched_getattr
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/uapi/asm/unistd.h4
-rw-r--r--arch/parisc/kernel/syscall_table.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h
index 2c8b9bde18eb..42706794a36f 100644
--- a/arch/parisc/include/uapi/asm/unistd.h
+++ b/arch/parisc/include/uapi/asm/unistd.h
@@ -826,8 +826,10 @@
826#define __NR_process_vm_writev (__NR_Linux + 331) 826#define __NR_process_vm_writev (__NR_Linux + 331)
827#define __NR_kcmp (__NR_Linux + 332) 827#define __NR_kcmp (__NR_Linux + 332)
828#define __NR_finit_module (__NR_Linux + 333) 828#define __NR_finit_module (__NR_Linux + 333)
829#define __NR_sched_setattr (__NR_Linux + 334)
830#define __NR_sched_getattr (__NR_Linux + 335)
829 831
830#define __NR_Linux_syscalls (__NR_finit_module + 1) 832#define __NR_Linux_syscalls (__NR_sched_getattr + 1)
831 833
832 834
833#define __IGNORE_select /* newselect */ 835#define __IGNORE_select /* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 0c9107285e66..8fa3fbb3e4d3 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -429,6 +429,8 @@
429 ENTRY_COMP(process_vm_writev) 429 ENTRY_COMP(process_vm_writev)
430 ENTRY_SAME(kcmp) 430 ENTRY_SAME(kcmp)
431 ENTRY_SAME(finit_module) 431 ENTRY_SAME(finit_module)
432 ENTRY_SAME(sched_setattr)
433 ENTRY_SAME(sched_getattr) /* 335 */
432 434
433 /* Nothing yet */ 435 /* Nothing yet */
434 436