Re: [PATCH 2/6] syscall.h: add syscall_set_arguments() on remaining HAVE_ARCH_TRACEHOOK arches

From: Dmitry V. Levin
Date: Thu Jan 09 2025 - 07:11:17 EST


On Thu, Jan 09, 2025 at 01:04:53PM +0100, Oleg Nesterov wrote:
> On 01/08, Dmitry V. Levin wrote:
> >
> > arch/arc/include/asm/syscall.h | 14 +++++++++
> > arch/arm/include/asm/syscall.h | 13 ++++++++
> > arch/arm64/include/asm/syscall.h | 13 ++++++++
> > arch/csky/include/asm/syscall.h | 13 ++++++++
> > arch/hexagon/include/asm/syscall.h | 7 +++++
> > arch/loongarch/include/asm/syscall.h | 8 +++++
> > arch/mips/include/asm/syscall.h | 46 ++++++++++++++++++++++++++++
> > arch/parisc/include/asm/syscall.h | 12 ++++++++
>
> Confused... arch/x86 needs syscall_set_arguments() too ?

Sure, all HAVE_ARCH_TRACEHOOK architectures need them, but most of these
architectures already provide them since the previous patch in the series:
[PATCH 1/6] Revert "arch: remove unused function syscall_set_arguments()"


--
ldv