Re: [Y2038] [PATCH v2 07/10] include: Add new y2038 safe __kernel_timespec

2017-12-15 Thread Arnd Bergmann
On Fri, Dec 15, 2017 at 1:11 AM, Ben Hutchings wrote: > On Mon, 2017-11-27 at 11:30 -0800, Deepa Dinamani wrote: >> --- a/include/uapi/linux/time.h >> +++ b/include/uapi/linux/time.h >> @@ -42,6 +42,13 @@ struct itimerval { >> > > struct timeval it_value;/* current value */ >> }; >> >>

Re: [Y2038] [PATCH v2 07/10] include: Add new y2038 safe __kernel_timespec

2017-12-14 Thread Ben Hutchings
On Mon, 2017-11-27 at 11:30 -0800, Deepa Dinamani wrote: > The new struct __kernel_timespec is similar to current > internal kernel struct timespec64 on 64 bit architecture. > The compat structure however is similar to below on little > endian systems (padding and tv_nsec are switched for big > end