summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2014-04-11 12:25:50 +0200
committerMax Filippov <jcmvbkbc@gmail.com>2014-08-14 11:59:15 +0400
commit89f77c6f5bb4b0058f40f510809ec07255e02a7e (patch)
tree0eb67f03ded3fea1ca6f725d2a9b0e92503f98d7 /arch/xtensa
parent1ca49463c44c970b1ab1d71b0f268bfdf8427a7e (diff)
downloadlinux-89f77c6f5bb4b0058f40f510809ec07255e02a7e.tar.bz2
xtensa: add renameat2 syscall
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/uapi/asm/unistd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/xtensa/include/uapi/asm/unistd.h b/arch/xtensa/include/uapi/asm/unistd.h
index b9395529f02d..8883fc877c5c 100644
--- a/arch/xtensa/include/uapi/asm/unistd.h
+++ b/arch/xtensa/include/uapi/asm/unistd.h
@@ -739,7 +739,10 @@ __SYSCALL(334, sys_sched_setattr, 2)
#define __NR_sched_getattr 335
__SYSCALL(335, sys_sched_getattr, 3)
-#define __NR_syscall_count 336
+#define __NR_renameat2 336
+__SYSCALL(336, sys_renameat2, 5)
+
+#define __NR_syscall_count 337
/*
* sysxtensa syscall handler