]> www.infradead.org Git - users/dwmw2/linux.git/commit
syscalls: fix syscall macros for newfstat/newfstatat
authorArnd Bergmann <arnd@arndb.de>
Thu, 1 Aug 2024 12:27:23 +0000 (14:27 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 2 Aug 2024 13:20:47 +0000 (15:20 +0200)
commit343416f0c11c42bed07f6db03ca599f4f1771b17
tree1b965cd0e81a94e3eebbfe2c434816ea50e340cc
parent54233a4254036efca91b9bffbd398ecf39e90555
syscalls: fix syscall macros for newfstat/newfstatat

The __NR_newfstat and __NR_newfstatat macros accidentally got renamed
in the conversion to the syscall.tbl format, dropping the 'new' portion
of the name.

In an unrelated change, the two syscalls are no longer architecture
specific but are once more defined on all 64-bit architectures, so the
'newstat' ABI keyword can be dropped from the table as a simplification.

Fixes: Fixes: 4fe53bf2ba0a ("syscalls: add generic scripts/syscall.tbl")
Closes: https://lore.kernel.org/lkml/838053e0-b186-4e9f-9668-9a3384a71f23@app.fastmail.com/T/#t
Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/kernel/Makefile.syscalls
arch/loongarch/kernel/Makefile.syscalls
arch/riscv/kernel/Makefile.syscalls
scripts/syscall.tbl