Skip to content

Commit

Permalink
generic syscalls: wire up preadv2 and pwritev2 syscalls
Browse files Browse the repository at this point in the history
These new syscalls are implemented as generic code, so enable them for
architectures like arm64 which use the generic syscall table.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Andre Przywara authored and Arnd Bergmann committed Apr 23, 2016
1 parent c3b46c7 commit 987aedb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/uapi/asm-generic/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,13 @@ __SYSCALL(__NR_membarrier, sys_membarrier)
__SYSCALL(__NR_mlock2, sys_mlock2)
#define __NR_copy_file_range 285
__SYSCALL(__NR_copy_file_range, sys_copy_file_range)
#define __NR_preadv2 286
__SYSCALL(__NR_preadv2, sys_preadv2)
#define __NR_pwritev2 287
__SYSCALL(__NR_pwritev2, sys_pwritev2)

#undef __NR_syscalls
#define __NR_syscalls 286
#define __NR_syscalls 288

/*
* All syscalls below here should go away really,
Expand Down

0 comments on commit 987aedb

Please sign in to comment.