sh: Wire up kcmp syscall.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 15 Oct 2012 04:54:29 +0000 (13:54 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 15 Oct 2012 04:54:29 +0000 (13:54 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/uapi/asm/unistd_32.h
arch/sh/include/uapi/asm/unistd_64.h
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S

index 72fd1e061006058e2e15855016fbf117f62a7fdd..9e465f246dc1e49882473fdcdeb34f6520eb6b10 100644 (file)
 #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 */
index a28edc3296920e03b322257c34c29b565d7871bf..8e3a2edd284eadbefe740d9fea0cbcd14a27e48f 100644 (file)
 #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 */
index 4b68f0f79761e404c5830d617547feae2806a712..fe97ae5e56f168e642e4825fc76575a8a61811b2 100644 (file)
@@ -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
index 0956345b36efecd9e6729180701aecf423979a86..5c7b1c67bdc1c04f9c858644c066063a7eaf6919 100644 (file)
@@ -404,3 +404,4 @@ sys_call_table:
        .long sys_setns                 /* 375 */
        .long sys_process_vm_readv
        .long sys_process_vm_writev
+       .long sys_kcmp