Browse Source

sh: Wire up kcmp syscall.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 12 years ago
parent
commit
cf7599322a

+ 2 - 1
arch/sh/include/uapi/asm/unistd_32.h

@@ -378,7 +378,8 @@
 #define __NR_setns		364
 #define __NR_process_vm_readv	365
 #define __NR_process_vm_writev	366
+#define __NR_kcmp		367
 
-#define NR_syscalls 367
+#define NR_syscalls 368
 
 #endif /* __ASM_SH_UNISTD_32_H */

+ 2 - 1
arch/sh/include/uapi/asm/unistd_64.h

@@ -398,7 +398,8 @@
 #define __NR_setns		375
 #define __NR_process_vm_readv	376
 #define __NR_process_vm_writev	377
+#define __NR_kcmp		378
 
-#define NR_syscalls 378
+#define NR_syscalls 379
 
 #endif /* __ASM_SH_UNISTD_64_H */

+ 1 - 0
arch/sh/kernel/syscalls_32.S

@@ -384,3 +384,4 @@ ENTRY(sys_call_table)
 	.long sys_setns
 	.long sys_process_vm_readv	/* 365 */
 	.long sys_process_vm_writev
+	.long sys_kcmp

+ 1 - 0
arch/sh/kernel/syscalls_64.S

@@ -404,3 +404,4 @@ sys_call_table:
 	.long sys_setns			/* 375 */
 	.long sys_process_vm_readv
 	.long sys_process_vm_writev
+	.long sys_kcmp