y2038: ipc: Enable COMPAT_32BIT_TIME
authorArnd Bergmann <arnd@arndb.de>
Fri, 13 Apr 2018 11:58:23 +0000 (13:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 20 Apr 2018 14:20:27 +0000 (16:20 +0200)
commitb0d175781ab275576429fe379ba8e98e1c60f362
tree020364fd1357d4217927141098c57c908dcabe7c
parent21fc538d817ce671f1a28a03996c715247c2ac89
y2038: ipc: Enable COMPAT_32BIT_TIME

Three ipc syscalls (mq_timedsend, mq_timedreceive and and semtimedop)
take a timespec argument. After we move 32-bit architectures over to
useing 64-bit time_t based syscalls, we need seperate entry points for
the old 32-bit based interfaces.

This changes the #ifdef guards for the existing 32-bit compat syscalls
to check for CONFIG_COMPAT_32BIT_TIME instead, which will then be
enabled on all existing 32-bit architectures.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
ipc/mqueue.c
ipc/sem.c
ipc/util.h