diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-05-20 10:59:37 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-05-20 10:59:37 +0200 |
commit | 18e480aa07f78abc7938adfe1035a5d9ce188ad8 (patch) | |
tree | 32a4d60dbf284a39357d485d6579f2716d05ea44 /arch | |
parent | cc79f00f7611cbb8f1ff1b92fe829548efcb4f08 (diff) | |
download | op-kernel-dev-18e480aa07f78abc7938adfe1035a5d9ce188ad8.zip op-kernel-dev-18e480aa07f78abc7938adfe1035a5d9ce188ad8.tar.gz |
parisc: add renameat2 syscall
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Acked-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/include/uapi/asm/unistd.h | 3 | ||||
-rw-r--r-- | arch/parisc/kernel/syscall_table.S | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h index 265ae51..47e0e21 100644 --- a/arch/parisc/include/uapi/asm/unistd.h +++ b/arch/parisc/include/uapi/asm/unistd.h @@ -829,8 +829,9 @@ #define __NR_sched_setattr (__NR_Linux + 334) #define __NR_sched_getattr (__NR_Linux + 335) #define __NR_utimes (__NR_Linux + 336) +#define __NR_renameat2 (__NR_Linux + 337) -#define __NR_Linux_syscalls (__NR_utimes + 1) +#define __NR_Linux_syscalls (__NR_renameat2 + 1) #define __IGNORE_select /* newselect */ diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index 83ead0e..f1432da 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S @@ -432,6 +432,7 @@ ENTRY_SAME(sched_setattr) ENTRY_SAME(sched_getattr) /* 335 */ ENTRY_COMP(utimes) + ENTRY_COMP(renameat2) /* Nothing yet */ |