summaryrefslogtreecommitdiff
path: root/include/uapi/linux/time_types.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-11-15 15:53:29 +0100
committerArnd Bergmann <arnd@arndb.de>2019-12-18 18:07:33 +0100
commit4f9fbd893fe83a1193adceca41c8f7aa6c7382a1 (patch)
treeb8f8b31962fe41a376351058401680dff137bbfa /include/uapi/linux/time_types.h
parent751addac78b6f205ffd47c8736ca6d429dc77703 (diff)
y2038: rename itimerval to __kernel_old_itimerval
Take the renaming of timeval and timespec one level further, also renaming itimerval to __kernel_old_itimerval, to avoid namespace conflicts with the user-space structure that may use 64-bit time_t members. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/uapi/linux/time_types.h')
-rw-r--r--include/uapi/linux/time_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/time_types.h b/include/uapi/linux/time_types.h
index 074e391d73a1..bcc0002115d3 100644
--- a/include/uapi/linux/time_types.h
+++ b/include/uapi/linux/time_types.h
@@ -33,6 +33,11 @@ struct __kernel_old_timespec {
long tv_nsec; /* nanoseconds */
};
+struct __kernel_old_itimerval {
+ struct __kernel_old_timeval it_interval;/* timer interval */
+ struct __kernel_old_timeval it_value; /* current value */
+};
+
struct __kernel_sock_timeval {
__s64 tv_sec;
__s64 tv_usec;