From: Max Filippov Date: Tue, 18 Feb 2014 12:00:05 +0000 (+0400) Subject: xtensa: wire up sched_setattr and sched_getattr syscalls X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f63b6d7555cd4064554b39da4d44c4cbbc9d6a4a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git xtensa: wire up sched_setattr and sched_getattr syscalls Signed-off-by: Max Filippov --- 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