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

Heiko Carstens heiko.carstens at de.ibm.com
Fri Apr 20 17:54:07 AEST 2018


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 at 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 at de.ibm.com>



More information about the Linuxppc-dev mailing list