[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAdtpL77zwffQAP6ihf5kQ6E5nOmOOnHZ8KD33ZN+kNGU0sZLQ@mail.gmail.com>
Date: Fri, 28 May 2021 15:47:19 +0200
From: Philippe Mathieu-Daudé <f4bug@...at.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
"open list:BROADCOM NVRAM DRIVER" <linux-mips@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
Alexander Lobakin <alobakin@...me>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH 1/2] mips: syscalls: define syscall offsets directly in <asm/unistd.h>
On Fri, May 28, 2021 at 8:11 AM Masahiro Yamada <masahiroy@...nel.org> 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@...nel.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é <f4bug@...at.org>
Powered by blists - more mailing lists