summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-02-18 16:00:05 +0400
committerMax Filippov <jcmvbkbc@gmail.com>2014-02-21 22:37:20 +0400
commitf63b6d7555cd4064554b39da4d44c4cbbc9d6a4a (patch)
treedc9df68ca53324d832346c7bdfe287c2afcb7de4 /arch
parent2bc2fde63858322a942864bf6cb2d54f5aa33186 (diff)
downloadlinux-f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a.tar.gz
linux-f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a.tar.bz2
linux-f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a.zip
xtensa: wire up sched_setattr and sched_getattr syscalls
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/xtensa/include/uapi/asm/unistd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h
index 51940fec6990..b9395529f02d 100644
--- a/arch/xtensa/include/uapi/asm/unistd.h
+++ b/arch/xtensa/include/uapi/asm/unistd.h
@@ -734,7 +734,12 @@ __SYSCALL(332, sys_finit_module, 3)
#define __NR_accept4 333
__SYSCALL(333, sys_accept4, 4)
-#define __NR_syscall_count 334
+#define __NR_sched_setattr 334
+__SYSCALL(334, sys_sched_setattr, 2)
+#define __NR_sched_getattr 335
+__SYSCALL(335, sys_sched_getattr, 3)
+
+#define __NR_syscall_count 336
/*
* sysxtensa syscall handler