summaryrefslogtreecommitdiff
path: root/include/linux/time64.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-01-07 02:00:34 +0300
committerArnd Bergmann <arnd@arndb.de>2019-02-07 02:13:28 +0300
commitc70a772fda11570ebddecbce1543a3fda008db4a (patch)
tree275d9f6f756d4170bb7c975bc8ebb20f837d7aa8 /include/linux/time64.h
parent00bf25d693e7f69497cb7f61d46ef99fe295a8a5 (diff)
downloadlinux-c70a772fda11570ebddecbce1543a3fda008db4a.tar.xz
y2038: remove struct definition redirects
We now use 64-bit time_t on all architectures, so the __kernel_timex, __kernel_timeval and __kernel_timespec redirects can be removed after having served their purpose. This makes it all much less confusing, as the __kernel_* types now always refer to the same layout based on 64-bit time_t across all 32-bit and 64-bit architectures. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/time64.h')
-rw-r--r--include/linux/time64.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/time64.h b/include/linux/time64.h
index 05634afba0db..f38d382ffec1 100644
--- a/include/linux/time64.h
+++ b/include/linux/time64.h
@@ -7,14 +7,6 @@
typedef __s64 time64_t;
typedef __u64 timeu64_t;
-/* CONFIG_64BIT_TIME enables new 64 bit time_t syscalls in the compat path
- * and 32-bit emulation.
- */
-#ifndef CONFIG_64BIT_TIME
-#define __kernel_timespec timespec
-#define __kernel_itimerspec itimerspec
-#endif
-
#include <uapi/linux/time.h>
struct timespec64 {