]> www.infradead.org Git - users/willy/linux.git/commit
loongarch: convert to generic syscall table
authorArnd Bergmann <arnd@arndb.de>
Tue, 23 Apr 2024 15:41:56 +0000 (17:41 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 10 Jul 2024 12:23:38 +0000 (14:23 +0200)
commit26a3b85bac08fa48bf06c6e2b75e5f5d714147f3
treed93d926acc1d8109f3c40531599c83d9fe5512c8
parent36d69c29759ec2299c1537e292a466eab3824087
loongarch: convert to generic syscall table

The uapi/asm/unistd_64.h and asm/syscall_table_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.

Unlike the other architectures using the asm-generic header, loongarch
uses none of the deprecated system calls at the moment.

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/loongarch/include/asm/Kbuild
arch/loongarch/include/asm/unistd.h
arch/loongarch/include/uapi/asm/Kbuild
arch/loongarch/include/uapi/asm/unistd.h
arch/loongarch/kernel/Makefile.syscalls [new file with mode: 0644]
arch/loongarch/kernel/syscall.c