mirror of https://gitee.com/openkylin/linux.git
parisc: Wire up preadv2 and pwritev2 syscalls
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
0de798584b
commit
119a0a3c13
|
@ -362,8 +362,10 @@
|
||||||
#define __NR_userfaultfd (__NR_Linux + 344)
|
#define __NR_userfaultfd (__NR_Linux + 344)
|
||||||
#define __NR_mlock2 (__NR_Linux + 345)
|
#define __NR_mlock2 (__NR_Linux + 345)
|
||||||
#define __NR_copy_file_range (__NR_Linux + 346)
|
#define __NR_copy_file_range (__NR_Linux + 346)
|
||||||
|
#define __NR_preadv2 (__NR_Linux + 347)
|
||||||
|
#define __NR_pwritev2 (__NR_Linux + 348)
|
||||||
|
|
||||||
#define __NR_Linux_syscalls (__NR_copy_file_range + 1)
|
#define __NR_Linux_syscalls (__NR_pwritev2 + 1)
|
||||||
|
|
||||||
|
|
||||||
#define __IGNORE_select /* newselect */
|
#define __IGNORE_select /* newselect */
|
||||||
|
|
|
@ -442,6 +442,8 @@
|
||||||
ENTRY_SAME(userfaultfd)
|
ENTRY_SAME(userfaultfd)
|
||||||
ENTRY_SAME(mlock2) /* 345 */
|
ENTRY_SAME(mlock2) /* 345 */
|
||||||
ENTRY_SAME(copy_file_range)
|
ENTRY_SAME(copy_file_range)
|
||||||
|
ENTRY_COMP(preadv2)
|
||||||
|
ENTRY_COMP(pwritev2)
|
||||||
|
|
||||||
|
|
||||||
.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))
|
.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))
|
||||||
|
|
Loading…
Reference in New Issue