summaryrefslogtreecommitdiffstats
path: root/arch/arc/include/uapi/asm/Kbuild
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-23 16:12:55 +0200
committerArnd Bergmann <arnd@arndb.de>2024-07-10 14:23:38 +0200
commit4414ad8eb4c209aa782916016be175b61a357088 (patch)
treed0c8ac1ecdd2d3a486775c0ecd1e185237107c2d /arch/arc/include/uapi/asm/Kbuild
parentclone3: drop __ARCH_WANT_SYS_CLONE3 macro (diff)
downloadlinux-4414ad8eb4c209aa782916016be175b61a357088.tar.xz
linux-4414ad8eb4c209aa782916016be175b61a357088.zip
arc: convert to generic syscall table
The uapi/asm/unistd_32.h and asm/syscall_table_32.h headers can now be generated from scripts/syscall.tbl, which makes this consistent with the other architectures that have their own syscall.tbl. arc has a couple of architecture specific system calls, which I add to the generic table. This for some reason includes the deprecated sys_sysfs() syscall that was presumably added by accident. The time32, renameat, stat64 and rlimit entries in the syscall_abis_32 entry are for system calls that were part of the generic ABI when arch/arc got added but are no longer enabled by default for new architectures. 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>
Diffstat (limited to 'arch/arc/include/uapi/asm/Kbuild')
-rw-r--r--arch/arc/include/uapi/asm/Kbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/include/uapi/asm/Kbuild b/arch/arc/include/uapi/asm/Kbuild
index e78470141932..2501e82a1a0a 100644
--- a/arch/arc/include/uapi/asm/Kbuild
+++ b/arch/arc/include/uapi/asm/Kbuild
@@ -1,2 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
+syscall-y += unistd_32.h
+
generic-y += ucontext.h