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

From: John Stultz
Date: Wed Dec 16 2015 - 01:11:25 EST


On Sat, Dec 12, 2015 at 8:24 PM, DengChao <chao.deng@xxxxxxxxxx> 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.
> Add a new function __ktime_get_real_seconds() in timekeeping to
> do this.
>
> Reviewed-by: John Stultz <john.stultz@xxxxxxxxxx>
> Signed-off-by: DengChao <chao.deng@xxxxxxxxxx>

Queued for testing. Thanks for sending this in.
-john
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/