Re: [PATCH v2 03/14] powerpc: Remove direct call to mmap2 syscall handlers

2022-08-08 Thread Christophe Leroy
Le 25/07/2022 à 08:25, Rohan McLure a écrit : > Syscall handlers should not be invoked internally by their symbol names, > as these symbols defined by the architecture-defined SYSCALL_DEFINE > macro. Move the compatibility syscall definition for mmap2 to > syscalls.c, so that all mmap

Re: [PATCH v2 03/14] powerpc: Remove direct call to mmap2 syscall handlers

2022-08-07 Thread Andrew Donnellan
On Mon, 2022-07-25 at 16:25 +1000, Rohan McLure wrote: > > diff --git a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > index 54bb5834785f..437066f5c4b2 100644 > --- a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl > +++

[PATCH v2 03/14] powerpc: Remove direct call to mmap2 syscall handlers

2022-07-25 Thread Rohan McLure
Syscall handlers should not be invoked internally by their symbol names, as these symbols defined by the architecture-defined SYSCALL_DEFINE macro. Move the compatibility syscall definition for mmap2 to syscalls.c, so that all mmap implementations can share an inline helper function, as is done