diff options
author | Laurent Vivier <laurent@vivier.eu> | 2024-09-20 17:10:30 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-09-22 09:30:18 +0200 |
commit | 656a46fbdab7db025dc372ea27660b4d657ee910 (patch) | |
tree | 210fde9ba77f13c647cc33534ff7a13f93fbeae0 /scripts | |
parent | f5afe739a22839498774fb2e9b4d4bd47d968acf (diff) |
linux-user,openrisc: move to syscalltbl file
Since kernel v6.11 openrisc has moved from syscall_nr.h file
to syscall.tbl (See 77122bf9e3df ("openrisc: convert to generic syscall
table"))
Update linux-user scripts to be able to retrieve syscall numbers
from linux syscall.tbl instead of syscall_nr.h.
New syscall.tbl is imported from linux v6.11 using updated
scripts/update-syscalltbl.sh
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20240920151034.859533-3-laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gensyscalls.sh | 2 | ||||
-rwxr-xr-x | scripts/update-syscalltbl.sh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gensyscalls.sh b/scripts/gensyscalls.sh index 8b9896390c..68de3f1aca 100755 --- a/scripts/gensyscalls.sh +++ b/scripts/gensyscalls.sh @@ -93,8 +93,6 @@ generate_syscall_nr() mkdir "$TMP/asm" > "$TMP/asm/bitsperlong.h" -generate_syscall_nr openrisc 32 "$output/linux-user/openrisc/syscall_nr.h" - generate_syscall_nr riscv 32 "$output/linux-user/riscv/syscall32_nr.h" generate_syscall_nr riscv 64 "$output/linux-user/riscv/syscall64_nr.h" generate_syscall_nr hexagon 32 "$output/linux-user/hexagon/syscall_nr.h" diff --git a/scripts/update-syscalltbl.sh b/scripts/update-syscalltbl.sh index b62f27e011..c3f898fd9f 100755 --- a/scripts/update-syscalltbl.sh +++ b/scripts/update-syscalltbl.sh @@ -7,6 +7,7 @@ arch/microblaze/kernel/syscalls/syscall.tbl,linux-user/microblaze/syscall.tbl \ arch/mips/kernel/syscalls/syscall_n32.tbl,linux-user/mips64/syscall_n32.tbl \ arch/mips/kernel/syscalls/syscall_n64.tbl,linux-user/mips64/syscall_n64.tbl \ arch/mips/kernel/syscalls/syscall_o32.tbl,linux-user/mips/syscall_o32.tbl \ +scripts/syscall.tbl,linux-user/openrisc/syscall.tbl \ arch/parisc/kernel/syscalls/syscall.tbl,linux-user/hppa/syscall.tbl \ arch/powerpc/kernel/syscalls/syscall.tbl,linux-user/ppc/syscall.tbl \ arch/s390/kernel/syscalls/syscall.tbl,linux-user/s390x/syscall.tbl \ |