Re: [PATCH v2 3/5] parisc: add system call table generation support
From: Arnd Bergmann
Date: Mon Oct 01 2018 - 07:36:32 EST
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.
Arnd