xtensa: wire up sched_setattr and sched_getattr syscalls
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 18 Feb 2014 12:00:05 +0000 (16:00 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Feb 2014 18:37:20 +0000 (22:37 +0400)
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/include/uapi/asm/unistd.h

index 51940fec6990f2b9a1c86fa5c43a199c3eade2f0..b9395529f02d465643091d71c4d6b6ca9650ff4b 100644 (file)
@@ -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