]> www.infradead.org Git - users/hch/misc.git/commit
arm64: generate 64-bit syscall.tbl
authorArnd Bergmann <arnd@arndb.de>
Thu, 4 Jul 2024 12:33:34 +0000 (14:33 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Jul 2024 12:23:38 +0000 (14:23 +0200)
commite632bca07c8eef1de9dc50f4e4066c56e9d68b07
tree1ada9ea0c4450a086fd39a229e396317cfe12119
parent7fe33e9f662c0a2f5110be4afff0a24e0c123540
arm64: generate 64-bit syscall.tbl

Change the asm/unistd.h header for arm64 to no longer include
asm-generic/unistd.h itself, but instead generate both the asm/unistd.h
contents and the list of entry points using the syscall.tbl scripts that
we use on most other architectures.

Once his is done for the remaining architectures, the generic unistd.h
header can be removed and the generated tbl file put in its place.

The Makefile changes are more complex than they should be, I need
a little help to improve those. Ideally this should be done in an
architecture-independent way as well.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/seccomp.h
arch/arm64/include/asm/unistd.h
arch/arm64/include/uapi/asm/Kbuild
arch/arm64/include/uapi/asm/unistd.h
arch/arm64/kernel/Makefile.syscalls
arch/arm64/kernel/sys.c
arch/arm64/tools/Makefile
arch/arm64/tools/syscall_64.tbl [new symlink]