]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arc: convert to generic syscall table
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2024 14:12:55 +0000 (16:12 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Jul 2024 12:23:38 +0000 (14:23 +0200)
commit4414ad8eb4c209aa782916016be175b61a357088
treed0c8ac1ecdd2d3a486775c0ecd1e185237107c2d
parent505d66d1abfb90853e24ab6cbdf83b611473d6fc
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>
arch/arc/include/asm/Kbuild
arch/arc/include/asm/unistd.h [new file with mode: 0644]
arch/arc/include/uapi/asm/Kbuild
arch/arc/include/uapi/asm/unistd.h
arch/arc/kernel/Makefile.syscalls [new file with mode: 0644]
arch/arc/kernel/sys.c
scripts/syscall.tbl