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>
This commit is contained in:
Arnd Bergmann 2019-11-15 15:53:29 +01:00
parent 751addac78
commit 4f9fbd893f
3 changed files with 18 additions and 14 deletions

View file

@ -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;