소스 검색

[IA64] Wire up new sched_setattr and sched_getattr syscalls

New syscalls for v3.14

Signed-off-by: Tony Luck <tony.luck#intel.com>
Tony Luck 11 년 전
부모
커밋
7de8246eba
3개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/ia64/include/asm/unistd.h
  2. 2 0
      arch/ia64/include/uapi/asm/unistd.h
  3. 2 0
      arch/ia64/kernel/entry.S

+ 1 - 1
arch/ia64/include/asm/unistd.h

@@ -11,7 +11,7 @@
 
 
 
-#define NR_syscalls			312 /* length of syscall table */
+#define NR_syscalls			314 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about

+ 2 - 0
arch/ia64/include/uapi/asm/unistd.h

@@ -325,5 +325,7 @@
 #define __NR_process_vm_writev		1333
 #define __NR_accept4			1334
 #define __NR_finit_module		1335
+#define __NR_sched_setattr		1336
+#define __NR_sched_getattr		1337
 
 #endif /* _UAPI_ASM_IA64_UNISTD_H */

+ 2 - 0
arch/ia64/kernel/entry.S

@@ -1773,6 +1773,8 @@ sys_call_table:
 	data8 sys_process_vm_writev
 	data8 sys_accept4
 	data8 sys_finit_module			// 1335
+	data8 sys_sched_setattr
+	data8 sys_sched_getattr
 
 	.org sys_call_table + 8*NR_syscalls	// guard against failures to increase NR_syscalls
 #endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */