]> git.baikalelectronics.ru Git - kernel.git/commit
y2038: Provide aliases for compat helpers
authorArnd Bergmann <arnd@arndb.de>
Tue, 21 Aug 2018 20:33:00 +0000 (22:33 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 22 Aug 2018 13:11:35 +0000 (15:11 +0200)
commitd9ada78ddfb8cfb98248d6582c55a400fa19902d
tree212ebd0eeb1ce42e71f1d6d592dc3d35a9ce53a9
parent438c433264938f968e06343309d5224e30a0e5e5
y2038: Provide aliases for compat helpers

As part of the system call rework for 64-bit time_t, we are restructuring
the way that compat syscalls deal with 32-bit time_t, reusing the
implementation for 32-bit architectures. Christoph Hellwig suggested a
rename of the associated types and interfaces to avoid the confusing usage
of the 'compat' prefix for 32-bit architectures.

To prepare for doing that in linux-4.20, add a set of macros that allows to
convert subsystems separately to the new names and avoids some of the
nastier merge conflicts.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Cc: y2038@lists.linaro.org
Cc: John Stultz <john.stultz@linaro.org>
Cc: Deepa Dinamani <deepa.kernel@gmail.com>
Link: https://lkml.kernel.org/r/20180821203329.2089473-1-arnd@arndb.de
include/linux/time32.h