hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/vdso/time32.h
....@@ -2,13 +2,16 @@
22 #ifndef __VDSO_TIME32_H
33 #define __VDSO_TIME32_H
44
5
-/*
6
- * New aliases for compat time functions. These will be used to replace
7
- * the compat code so it can be shared between 32-bit and 64-bit builds
8
- * both of which provide compatibility with old 32-bit tasks.
9
- */
10
-#define old_time32_t compat_time_t
11
-#define old_timeval32 compat_timeval
12
-#define old_timespec32 compat_timespec
5
+typedef s32 old_time32_t;
6
+
7
+struct old_timespec32 {
8
+ old_time32_t tv_sec;
9
+ s32 tv_nsec;
10
+};
11
+
12
+struct old_timeval32 {
13
+ old_time32_t tv_sec;
14
+ s32 tv_usec;
15
+};
1316
1417 #endif /* __VDSO_TIME32_H */