summaryrefslogtreecommitdiff
path: root/include/uapi/linux/timex.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/uapi/linux/timex.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/uapi/linux/timex.h')
-rw-r--r--include/uapi/linux/timex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/uapi/linux/timex.h b/include/uapi/linux/timex.h
index a1c6b73016a5..9f517f9010bb 100644
--- a/include/uapi/linux/timex.h
+++ b/include/uapi/linux/timex.h
@@ -97,7 +97,6 @@ struct __kernel_timex_timeval {
long long tv_usec;
};
-#ifndef __kernel_timex
struct __kernel_timex {
unsigned int modes; /* mode selector */
int :32; /* pad */
@@ -131,7 +130,6 @@ struct __kernel_timex {
int :32; int :32; int :32; int :32;
int :32; int :32; int :32;
};
-#endif
/*
* Mode codes (timex.mode)