Re: [PATCH 1/2] mips: syscalls: define syscall offsets directly in <asm/unistd.h>
From: Philippe Mathieu-Daudé <hidden>
Date: 2021-05-28 13:47:39
Also in:
lkml
From: Philippe Mathieu-Daudé <hidden>
Date: 2021-05-28 13:47:39
Also in:
lkml
On Fri, May 28, 2021 at 8:11 AM Masahiro Yamada [off-list ref] wrote:
There is no good reason to generate the syscall offset macros by scripting since they are not derived from the syscall tables. Define __NR_*_Linux macros directly in arch/mips/include/asm/unistd.h, and clean up the Makefile and the shell script. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- arch/mips/include/asm/unistd.h | 4 ++++ arch/mips/kernel/syscalls/Makefile | 6 +----- arch/mips/kernel/syscalls/syscallnr.sh | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <redacted>