mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-15 03:07:37 +07:00
ARM: wire up preadv2 and pwritev2 syscalls
Wire up the preadv2 and pwritev2 syscalls for ARM. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
0fc03d4c87
commit
f2335a2a0a
@ -19,7 +19,7 @@
|
|||||||
* 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
|
||||||
* account for the padding in the syscall table
|
* account for the padding in the syscall table
|
||||||
*/
|
*/
|
||||||
#define __NR_syscalls (392)
|
#define __NR_syscalls (396)
|
||||||
|
|
||||||
#define __ARCH_WANT_STAT64
|
#define __ARCH_WANT_STAT64
|
||||||
#define __ARCH_WANT_SYS_GETHOSTNAME
|
#define __ARCH_WANT_SYS_GETHOSTNAME
|
||||||
|
@ -418,6 +418,8 @@
|
|||||||
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
|
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
|
||||||
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
|
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
|
||||||
#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
|
#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
|
||||||
|
#define __NR_preadv2 (__NR_SYSCALL_BASE+392)
|
||||||
|
#define __NR_pwritev2 (__NR_SYSCALL_BASE+393)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following SWIs are ARM private.
|
* The following SWIs are ARM private.
|
||||||
|
@ -399,8 +399,10 @@
|
|||||||
CALL(sys_execveat)
|
CALL(sys_execveat)
|
||||||
CALL(sys_userfaultfd)
|
CALL(sys_userfaultfd)
|
||||||
CALL(sys_membarrier)
|
CALL(sys_membarrier)
|
||||||
CALL(sys_mlock2)
|
/* 390 */ CALL(sys_mlock2)
|
||||||
CALL(sys_copy_file_range)
|
CALL(sys_copy_file_range)
|
||||||
|
CALL(sys_preadv2)
|
||||||
|
CALL(sys_pwritev2)
|
||||||
#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…
Reference in New Issue
Block a user