summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-02-18 13:00:05 +0100
committerMax Filippov <jcmvbkbc@gmail.com>2014-02-21 19:37:20 +0100
commitf63b6d7555cd4064554b39da4d44c4cbbc9d6a4a (patch)
treedc9df68ca53324d832346c7bdfe287c2afcb7de4 /arch/xtensa
parentxtensa: xtfpga: set ethoc clock frequency (diff)
downloadlinux-f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a.tar.xz
linux-f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a.zip
xtensa: wire up sched_setattr and sched_getattr syscalls
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-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