.. | .. |
---|
2 | 2 | #ifndef __VDSO_TIME32_H |
---|
3 | 3 | #define __VDSO_TIME32_H |
---|
4 | 4 | |
---|
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 | +}; |
---|
13 | 16 | |
---|
14 | 17 | #endif /* __VDSO_TIME32_H */ |
---|