aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/uapi/asm/sockios.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-12-15 21:35:04 +0100
committerArnd Bergmann <arnd@arndb.de>2019-12-18 18:07:33 +0100
commit8c709f9a06938f6dd743e0b968245d900fa4759e (patch)
treee4a0ea15d5f2c0c557ba1a4c5c238baf67aeeb8c /arch/sh/include/uapi/asm/sockios.h
parenty2038: sparc: remove use of struct timex (diff)
downloadlinux-dev-8c709f9a06938f6dd743e0b968245d900fa4759e.tar.xz
linux-dev-8c709f9a06938f6dd743e0b968245d900fa4759e.zip
y2038: sh: remove timeval/timespec usage from headers
This header file escaped my earlier cleanups for removing the in-kernel usage of timeval and timespec structs. Replace them with the corresponding __kernel_old_* types. Acked-by: Rich Felker <dalias@libc.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r--arch/sh/include/uapi/asm/sockios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/uapi/asm/sockios.h b/arch/sh/include/uapi/asm/sockios.h
index ef18a668456d..3da561453260 100644
--- a/arch/sh/include/uapi/asm/sockios.h
+++ b/arch/sh/include/uapi/asm/sockios.h
@@ -10,7 +10,7 @@
#define SIOCSPGRP _IOW('s', 8, pid_t)
#define SIOCGPGRP _IOR('s', 9, pid_t)
-#define SIOCGSTAMP_OLD _IOR('s', 100, struct timeval) /* Get stamp (timeval) */
-#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct timespec) /* Get stamp (timespec) */
+#define SIOCGSTAMP_OLD _IOR('s', 100, struct __kernel_old_timeval) /* Get stamp (timeval) */
+#define SIOCGSTAMPNS_OLD _IOR('s', 101, struct __kernel_old_timespec) /* Get stamp (timespec) */
#endif /* __ASM_SH_SOCKIOS_H */