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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux