time: Introduce CONFIG_COMPAT_32BIT_TIME
authorDeepa Dinamani <deepa.kernel@gmail.com>
Wed, 14 Mar 2018 04:03:28 +0000 (21:03 -0700)
committerArnd Bergmann <arnd@arndb.de>
Thu, 19 Apr 2018 11:30:40 +0000 (13:30 +0200)
commit17435e5f8cf3ba8b3df1aa662f9921f0ccdd8a28
treea27bfc628671de82c326623a9a8c0257a6e8e487
parentd4703ddafd1e05b8ec8f3fc8f4fbb4f88789a5ea
time: Introduce CONFIG_COMPAT_32BIT_TIME

Compat functions are now used to support 32 bit time_t in
compat mode on 64 bit architectures and in native mode on
32 bit architectures.

Introduce COMPAT_32BIT_TIME to conditionally compile these
functions.

Note that turning off 32 bit time_t support requires more
changes on architecture side. For instance, architecure
syscall tables need to be updated to drop support for 32 bit
time_t syscalls.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/Kconfig