Re: [PATCH v2 3/5] parisc: add system call table generation support

From: Firoz Khan
Date: Mon Oct 01 2018 - 10:23:26 EST


Hi Arnd,

On Mon, 1 Oct 2018 at 17:06, Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> On Thu, Sep 27, 2018 at 4:25 PM Firoz Khan <firoz.khan@xxxxxxxxxx> wrote:
> >
> > ---
> > arch/parisc/kernel/syscalls/Makefile | 55 +++++
> > arch/parisc/kernel/syscalls/syscall_32.tbl | 342 +++++++++++++++++++++++++++++
> > arch/parisc/kernel/syscalls/syscall_64.tbl | 342 +++++++++++++++++++++++++++++
> > arch/parisc/kernel/syscalls/syscallhdr.sh | 35 +++
> > arch/parisc/kernel/syscalls/syscalltbl.sh | 42 ++++
>
> I think we absolutely want to share the .tbl files for generating all
> five outputs
> (32-bit unistd.h, 64-bit unistd.h, 32-bit native syscall-table.S, 64-bit native
> syscall-table.S, and 32-bit compat syscall-table.S) so we only
> have to modify one file when adding another syscall, and to ensure that
> 32/64 are in sync.

For this design, I need to rework. I'll update you shortly

- Firoz
>
> Arnd