summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-07-09 13:27:07 +0200
committerMichal Simek <michal.simek@xilinx.com>2014-07-09 13:27:07 +0200
commit08e6bbda0b483268822e3461f1bb82d6c80d2de5 (patch)
tree90408927b7d18953c4dbe858fb9837ea9ccb5c16 /arch
parentcfa1481a4073760aeaf83f4cd5e9602a35f8082f (diff)
downloadop-kernel-dev-08e6bbda0b483268822e3461f1bb82d6c80d2de5.zip
op-kernel-dev-08e6bbda0b483268822e3461f1bb82d6c80d2de5.tar.gz
microblaze: Wire-up renameat2 syscall
Add new renameat2 syscall. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/include/uapi/asm/unistd.h1
-rw-r--r--arch/microblaze/kernel/syscall_table.S1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/include/uapi/asm/unistd.h b/arch/microblaze/include/uapi/asm/unistd.h
index 8d0791b..4e1ddc9 100644
--- a/arch/microblaze/include/uapi/asm/unistd.h
+++ b/arch/microblaze/include/uapi/asm/unistd.h
@@ -398,5 +398,6 @@
#define __NR_finit_module 380
#define __NR_sched_setattr 381
#define __NR_sched_getattr 382
+#define __NR_renameat2 383
#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S
index 941929f..1a23d5d 100644
--- a/arch/microblaze/kernel/syscall_table.S
+++ b/arch/microblaze/kernel/syscall_table.S
@@ -383,3 +383,4 @@ ENTRY(sys_call_table)
.long sys_finit_module /* 380 */
.long sys_sched_setattr
.long sys_sched_getattr
+ .long sys_renameat2
OpenPOWER on IntegriCloud