aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-07-09 07:27:07 -0400
committerMichal Simek <michal.simek@xilinx.com>2014-07-09 07:27:07 -0400
commit08e6bbda0b483268822e3461f1bb82d6c80d2de5 (patch)
tree90408927b7d18953c4dbe858fb9837ea9ccb5c16
parentcfa1481a4073760aeaf83f4cd5e9602a35f8082f (diff)
microblaze: Wire-up renameat2 syscall
Add new renameat2 syscall. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-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 8d0791b49b31..4e1ddc930a68 100644
--- a/arch/microblaze/include/uapi/asm/unistd.h
+++ b/arch/microblaze/include/uapi/asm/unistd.h
@@ -398,5 +398,6 @@
398#define __NR_finit_module 380 398#define __NR_finit_module 380
399#define __NR_sched_setattr 381 399#define __NR_sched_setattr 381
400#define __NR_sched_getattr 382 400#define __NR_sched_getattr 382
401#define __NR_renameat2 383
401 402
402#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ 403#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */
diff --git a/arch/microblaze/kernel/syscall_table.S b/arch/microblaze/kernel/syscall_table.S
index 941929fa662f..1a23d5d5480c 100644
--- a/arch/microblaze/kernel/syscall_table.S
+++ b/arch/microblaze/kernel/syscall_table.S
@@ -383,3 +383,4 @@ ENTRY(sys_call_table)
383 .long sys_finit_module /* 380 */ 383 .long sys_finit_module /* 380 */
384 .long sys_sched_setattr 384 .long sys_sched_setattr
385 .long sys_sched_getattr 385 .long sys_sched_getattr
386 .long sys_renameat2