# Re: \[PATCH v3 04/17\] y2038: s390: Remove unneeded ipc uapi header files

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2018-04-20 07:58:29 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2018/04/5250669
- Thread: https://ratatoskr.run/linux-api/2018/04/5250653/t.md

```text
On Fri, Apr 20, 2018 at 9:54 AM, Heiko Carstens
[ref] 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 <redacted>

Thanks, added to the patch.

     Arnd
```
