summaryrefslogtreecommitdiffstats
path: root/include/linux/timex.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-01-06 18:00:34 -0500
committerArnd Bergmann <arnd@arndb.de>2019-02-06 18:13:28 -0500
commitc70a772fda11570ebddecbce1543a3fda008db4a (patch)
tree275d9f6f756d4170bb7c975bc8ebb20f837d7aa8 /include/linux/timex.h
parent00bf25d693e7f69497cb7f61d46ef99fe295a8a5 (diff)
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/timex.h')
-rw-r--r--include/linux/timex.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h
index 4aff9f0d1367..ce0859763670 100644
--- a/include/linux/timex.h
+++ b/include/linux/timex.h
@@ -53,13 +53,6 @@
53#ifndef _LINUX_TIMEX_H 53#ifndef _LINUX_TIMEX_H
54#define _LINUX_TIMEX_H 54#define _LINUX_TIMEX_H
55 55
56/* CONFIG_64BIT_TIME enables new 64 bit time_t syscalls in the compat path
57 * and 32-bit emulation.
58 */
59#ifndef CONFIG_64BIT_TIME
60#define __kernel_timex timex
61#endif
62
63#include <uapi/linux/timex.h> 56#include <uapi/linux/timex.h>
64 57
65#define ADJ_ADJTIME 0x8000 /* switch between adjtime/adjtimex modes */ 58#define ADJ_ADJTIME 0x8000 /* switch between adjtime/adjtimex modes */