summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2012-12-13 17:26:23 +0100
committerMichal Simek <michal.simek@xilinx.com>2012-12-13 18:15:32 +0100
commit05c0674107dee0bf2aed323796c443cb6de8e71a (patch)
tree9cbe33d50a1cc9cf78e181e81c5c0313d9c07639
parent7958a689199fbc557fad7d79b16b2017a7e40a71 (diff)
downloadlinux-05c0674107dee0bf2aed323796c443cb6de8e71a.tar.bz2
microblaze: Wire-up new system call kcmp
Wire-up kcmp syscall. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/microblaze/include/uapi/asm/unistd.h3
-rw-r--r--arch/microblaze/kernel/syscall_table.S1
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h
index bbeaa2dcc677..ccb6920f3b33 100644
--- a/arch/microblaze/include/uapi/asm/unistd.h
+++ b/arch/microblaze/include/uapi/asm/unistd.h
@@ -394,7 +394,8 @@
#define __NR_sendmmsg 376
#define __NR_process_vm_readv 377
#define __NR_process_vm_writev 378
+#define __NR_kcmp 379
-#define __NR_syscalls 379
+#define __NR_syscalls 380
#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S
index ff6431e54680..1cbace29b5e2 100644
--- a/arch/microblaze/kernel/syscall_table.S
+++ b/arch/microblaze/kernel/syscall_table.S
@@ -379,3 +379,4 @@ ENTRY(sys_call_table)
.long sys_sendmmsg
.long sys_process_vm_readv
.long sys_process_vm_writev
+ .long sys_kcmp