diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-04-23 17:41:56 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-07-10 14:23:38 +0200 |
commit | 26a3b85bac08fa48bf06c6e2b75e5f5d714147f3 (patch) | |
tree | d93d926acc1d8109f3c40531599c83d9fe5512c8 /arch/loongarch/include/asm | |
parent | hexagon: use new system call table (diff) | |
download | linux-26a3b85bac08fa48bf06c6e2b75e5f5d714147f3.tar.xz linux-26a3b85bac08fa48bf06c6e2b75e5f5d714147f3.zip |
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>
Diffstat (limited to 'arch/loongarch/include/asm')
-rw-r--r-- | arch/loongarch/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/loongarch/include/asm/unistd.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/Kbuild b/arch/loongarch/include/asm/Kbuild index 0db5ad14f014..2bb3676429c0 100644 --- a/arch/loongarch/include/asm/Kbuild +++ b/arch/loongarch/include/asm/Kbuild @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_64.h generated-y += orc_hash.h generic-y += mcs_spinlock.h diff --git a/arch/loongarch/include/asm/unistd.h b/arch/loongarch/include/asm/unistd.h index cfddb0116a8c..fc0a481a7416 100644 --- a/arch/loongarch/include/asm/unistd.h +++ b/arch/loongarch/include/asm/unistd.h @@ -8,4 +8,6 @@ #include <uapi/asm/unistd.h> +#define __ARCH_WANT_SYS_CLONE + #define NR_syscalls (__NR_syscalls) |