]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hexagon: use new system call table
authorArnd Bergmann <arnd@arndb.de>
Thu, 20 Jun 2024 13:36:30 +0000 (15:36 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Jul 2024 12:23:38 +0000 (14:23 +0200)
commit36d69c29759ec2299c1537e292a466eab3824087
tree32cd214e245648001dd70cb495985d9c073e3bf5
parentf840cab63efe802638bf536221deecfbf3f569ed
hexagon: use new system call 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.

The time32, stat64, rlimit and renameat entries in the syscall_abis_32
line are for system calls that were part of the generic ABI when
arch/hexagon got added but are no longer enabled by default for new
architectures.

As a side-effect, calling an unimplemented syscall now return -ENOSYS
rather than branching into a NULL pointer.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/hexagon/include/asm/Kbuild
arch/hexagon/include/asm/unistd.h [new file with mode: 0644]
arch/hexagon/include/uapi/asm/Kbuild
arch/hexagon/include/uapi/asm/unistd.h
arch/hexagon/kernel/Makefile.syscalls [new file with mode: 0644]
arch/hexagon/kernel/syscalltab.c