Re: [PATCH 1/2] mips: syscalls: define syscall offsets directly in <asm/unistd.h>

From: Philippe Mathieu-Daudé
Date: Fri May 28 2021 - 09:48:00 EST


On Fri, May 28, 2021 at 8:11 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
>
> 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é <f4bug@xxxxxxxxx>