struct __kernel_old_timeval is supposed to have the same layout as struct timeval. But, it was inadvarently missed that __kernel_suseconds has a different definition for sparc64. Provide an asm-specific override that fixes it.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -63,10 +63,12 @@ struct __kernel_itimerspec { · 62 unmodified lines | ||
| 63 | 63 | * here, this is probably because it is not y2038 safe and needs to |
| 64 | 64 | * be changed to use another interface. |
| 65 | 65 | */ |
| 66 | +#ifndef __kernel_old_timeval | |
| 66 | 67 | struct __kernel_old_timeval { |
| 67 | 68 | __kernel_long_t tv_sec; |
| 68 | 69 | __kernel_long_t tv_usec; |
| 69 | 70 | }; |
| 71 | +#endif | |
| 70 | 72 | |
| 71 | 73 | /* |
| 72 | 74 | * The IDs of the various system clocks (for POSIX.1b interval timers): |