This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 04/17] y2038: s390: Remove unneeded ipc uapi header files
- From: Arnd Bergmann <arnd at arndb dot de>
- To: Heiko Carstens <heiko dot carstens at de dot ibm dot com>
- Cc: y2038 Mailman List <y2038 at lists dot linaro dot org>, Linux Kernel Mailing List <linux-kernel at vger dot kernel dot org>, Linux API <linux-api at vger dot kernel dot org>, linux-arch <linux-arch at vger dot kernel dot org>, GNU C Library <libc-alpha at sourceware dot org>, Thomas Gleixner <tglx at linutronix dot de>, Deepa Dinamani <deepa dot kernel at gmail dot com>, Al Viro <viro at zeniv dot linux dot org dot uk>, "Eric W . Biederman" <ebiederm at xmission dot com>, Albert ARIBAUD <albert dot aribaud at 3adev dot fr>, linux-s390 <linux-s390 at vger dot kernel dot org>, Martin Schwidefsky <schwidefsky at de dot ibm dot com>, "the arch/x86 maintainers" <x86 at kernel dot org>, Catalin Marinas <catalin dot marinas at arm dot com>, Will Deacon <will dot deacon at arm dot com>, "open list:RALINK MIPS ARCHITECTURE" <linux-mips at linux-mips dot org>, James Hogan <jhogan at kernel dot org>, Ralf Baechle <ralf at linux-mips dot org>, linuxppc-dev <linuxppc-dev at lists dot ozlabs dot org>, sparclinux <sparclinux at vger dot kernel dot org>
- Date: Fri, 20 Apr 2018 09:58:24 +0200
- Subject: Re: [PATCH v3 04/17] y2038: s390: Remove unneeded ipc uapi header files
- References: <20180419143737.606138-1-arnd@arndb.de> <20180419143737.606138-5-arnd@arndb.de> <20180420075407.GA7119@osiris>
On Fri, Apr 20, 2018 at 9:54 AM, Heiko Carstens
<heiko.carstens@de.ibm.com> wrote:
> On Thu, Apr 19, 2018 at 04:37:24PM +0200, Arnd Bergmann wrote:
>> The s390 msgbuf/sembuf/shmbuf header files are all identical to the
>> version from asm-generic.
>>
>> This patch removes the files and replaces them with 'generic-y'
>> statements, to avoid having to modify each copy when we extend sysvipc
>> to deal with 64-bit time_t in 32-bit user space.
>>
>> Note that unlike alpha and ia64, the ipcbuf.h header file is slightly
>> different here, so I'm leaving the private copy.
>>
>> To deal with 32-bit compat tasks, we also have to adapt the definitions
>> of compat_{shm,sem,msg}id_ds to match the changes to the respective
>> asm-generic files.
>>
>> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>> ---
>> arch/s390/include/asm/compat.h | 32 ++++++++++++------------
>> arch/s390/include/uapi/asm/Kbuild | 3 +++
>> arch/s390/include/uapi/asm/msgbuf.h | 38 ----------------------------
>> arch/s390/include/uapi/asm/sembuf.h | 30 -----------------------
>> arch/s390/include/uapi/asm/shmbuf.h | 49 -------------------------------------
>> 5 files changed, 19 insertions(+), 133 deletions(-)
>> delete mode 100644 arch/s390/include/uapi/asm/msgbuf.h
>> delete mode 100644 arch/s390/include/uapi/asm/sembuf.h
>> delete mode 100644 arch/s390/include/uapi/asm/shmbuf.h
>
> FWIW,
>
> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Thanks, added to the patch.
Arnd