ARM: add renameat2 syscall
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> [dropped arch/arm/include/asm/unistd.h changes --rmk] Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
51aaf81fae
commit
556d3f7f4d
2 changed files with 2 additions and 0 deletions
|
@ -408,6 +408,7 @@
|
||||||
#define __NR_finit_module (__NR_SYSCALL_BASE+379)
|
#define __NR_finit_module (__NR_SYSCALL_BASE+379)
|
||||||
#define __NR_sched_setattr (__NR_SYSCALL_BASE+380)
|
#define __NR_sched_setattr (__NR_SYSCALL_BASE+380)
|
||||||
#define __NR_sched_getattr (__NR_SYSCALL_BASE+381)
|
#define __NR_sched_getattr (__NR_SYSCALL_BASE+381)
|
||||||
|
#define __NR_renameat2 (__NR_SYSCALL_BASE+382)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This may need to be greater than __NR_last_syscall+1 in order to
|
* This may need to be greater than __NR_last_syscall+1 in order to
|
||||||
|
|
|
@ -391,6 +391,7 @@
|
||||||
CALL(sys_finit_module)
|
CALL(sys_finit_module)
|
||||||
/* 380 */ CALL(sys_sched_setattr)
|
/* 380 */ CALL(sys_sched_setattr)
|
||||||
CALL(sys_sched_getattr)
|
CALL(sys_sched_getattr)
|
||||||
|
CALL(sys_renameat2)
|
||||||
#ifndef syscalls_counted
|
#ifndef syscalls_counted
|
||||||
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
|
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
|
||||||
#define syscalls_counted
|
#define syscalls_counted
|
||||||
|
|
Loading…
Add table
Reference in a new issue