consolidate the compat fcntl definitions v2

Christophe Leroy christophe.leroy at csgroup.eu
Tue Feb 1 22:23:26 AEDT 2022


Hi Christoph,

Le 31/01/2022 à 07:49, Christoph Hellwig a écrit :
> Hi all,
> 
> currenty the compat fcnt definitions are duplicate for all compat
> architectures, and the native fcntl64 definitions aren't even usable
> from userspace due to a bogus CONFIG_64BIT ifdef.  This series tries
> to sort out all that.

There must be something wrong with this cover letter, patchwork doesn't 
see it, see 
https://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=82

Any idea what the problem is ?

Thanks
Christophe

> 
> Changes since v1:
>   - only make the F*64 defines uapi visible for 32-bit architectures
> 
> Diffstat:
>   arch/arm64/include/asm/compat.h        |   20 --------------------
>   arch/mips/include/asm/compat.h         |   23 ++---------------------
>   arch/mips/include/uapi/asm/fcntl.h     |   30 +++++-------------------------
>   arch/parisc/include/asm/compat.h       |   16 ----------------
>   arch/powerpc/include/asm/compat.h      |   20 --------------------
>   arch/s390/include/asm/compat.h         |   20 --------------------
>   arch/sparc/include/asm/compat.h        |   22 +---------------------
>   arch/x86/include/asm/compat.h          |   24 +++---------------------
>   include/linux/compat.h                 |   31 +++++++++++++++++++++++++++++++
>   include/uapi/asm-generic/fcntl.h       |   23 +++++++++--------------
>   tools/include/uapi/asm-generic/fcntl.h |   21 +++++++--------------
>   11 files changed, 58 insertions(+), 192 deletions(-)


More information about the Linuxppc-dev mailing list