Re: [Y2038] [PATCH v3 14/22] time:Introduce the do_sys_settimeofday64() function with timespec64 type

2015-05-13 Thread Arnd Bergmann
On Wednesday 13 May 2015 10:43:25 Baolin Wang wrote: > > > -int do_sys_settimeofday(const struct timespec *tv, const struct > > timezone *tz) > > > +int do_sys_settimeofday64(const struct timespec64 *tv, const struct > > timezone *tz) > > > { > > > static int firsttime = 1; > > > int e

Re: [PATCH v3 14/22] time:Introduce the do_sys_settimeofday64() function with timespec64 type

2015-05-12 Thread Thomas Gleixner
On Mon, 11 May 2015, Baolin Wang wrote: > This patch introduces the do_sys_settimeofday64() function with timespec64 > type, that makes this function ready for 2038 issue when setting the time of > day. Copy and paste is your favourite work method, right? > -int do_sys_settimeofday(const struct

[PATCH v3 14/22] time:Introduce the do_sys_settimeofday64() function with timespec64 type

2015-05-11 Thread Baolin Wang
This patch introduces the do_sys_settimeofday64() function with timespec64 type, that makes this function ready for 2038 issue when setting the time of day. And moves the do_sys_settimeofday() function to the timekeeping.h file. Signed-off-by: Baolin Wang --- include/linux/timekeeping.h | 12