mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
3db80c999d
The uapi/asm/unistd_{32,64}.h and asm/syscall_table_{32,64}.h headers can now be generated from scripts/syscall.tbl, which makes this consistent with the other architectures that have their own syscall.tbl. riscv has two extra system call that gets added to scripts/syscall.tbl. The newstat and rlimit entries in the syscall_abis_64 line are for system calls that were part of the generic ABI when riscv64 got added but are no longer enabled by default for new architectures. Both riscv32 and riscv64 also implement memfd_secret, which is optional for all architectures. Unlike all the other 32-bit architectures, the time32 and stat64 sets of syscalls are not enabled on riscv32. Both the user visible side of asm/unistd.h and the internal syscall table in the kernel should have the same effective contents after this. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 lines
127 B
Makefile
5 lines
127 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
syscall_abis_32 += riscv memfd_secret
|
|
syscall_abis_64 += riscv newstat rlimit memfd_secret
|