diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-18 13:00:05 +0100 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-21 19:37:20 +0100 |
commit | f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a (patch) | |
tree | dc9df68ca53324d832346c7bdfe287c2afcb7de4 /arch/xtensa | |
parent | xtensa: xtfpga: set ethoc clock frequency (diff) | |
download | linux-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.h | 7 |
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 |