Re: [PATCH 1/2] timekeeping: Provide internal function __ktime_get_real_seconds

2015-12-15 Thread John Stultz
On Sat, Dec 12, 2015 at 8:24 PM, DengChao wrote: > In order to fix Y2038 issues in the ntp code we will need replace > get_seconds() with ktime_get_real_seconds() but as the ntp code uses > the timekeeping lock which is also used by ktime_get_real_seconds(), > we need a version without locking. >

[PATCH 1/2] timekeeping: Provide internal function __ktime_get_real_seconds

2015-12-12 Thread DengChao
In order to fix Y2038 issues in the ntp code we will need replace get_seconds() with ktime_get_real_seconds() but as the ntp code uses the timekeeping lock which is also used by ktime_get_real_seconds(), we need a version without locking. Add a new function __ktime_get_real_seconds() in timekeeping