Re: [Y2038] [PATCH v3 08/23] posix-timers:Convert to the 64bit methods for the timer_settime syscall function

2015-05-12 Thread Arnd Bergmann
On Tuesday 12 May 2015 22:10:14 Baolin Wang wrote: > +static int default_timer_set64(struct k_itimer *timr, int flags, > + struct itimerspec64 *new_setting64, > + struct itimerspec64 *old_setting64) > +{ > + struct k_clock *kc =

[PATCH v3 08/23] posix-timers:Convert to the 64bit methods for the timer_settime syscall function

2015-05-12 Thread Baolin Wang
This patch introduces the timer_set64 method with itimerspec64 type for k_clock structure, that makes it ready for the 2038 year. Convert to the 64bit method with itimerspec64 type for the timer_settime syscall function, and change the timer_settime syscall implementation according to the

[PATCH v3 08/23] posix-timers:Convert to the 64bit methods for the timer_settime syscall function

2015-05-12 Thread Baolin Wang
This patch introduces the timer_set64 method with itimerspec64 type for k_clock structure, that makes it ready for the 2038 year. Convert to the 64bit method with itimerspec64 type for the timer_settime syscall function, and change the timer_settime syscall implementation according to the

Re: [Y2038] [PATCH v3 08/23] posix-timers:Convert to the 64bit methods for the timer_settime syscall function

2015-05-12 Thread Arnd Bergmann
On Tuesday 12 May 2015 22:10:14 Baolin Wang wrote: +static int default_timer_set64(struct k_itimer *timr, int flags, + struct itimerspec64 *new_setting64, + struct itimerspec64 *old_setting64) +{ + struct k_clock *kc =