2017-11-08 03:23:33

by Michael Ellerman

[permalink] [raw]
Subject: Re: powerpc: eeh: stop using do_gettimeofday()

On Sat, 2017-11-04 at 21:26:52 UTC, Arnd Bergmann wrote:
> This interface is inefficient and deprecated because of the y2038
> overflow.
>
> ktime_get_seconds() is an appropriate replacement here, since it
> has sufficient granularity but is more efficient and uses monotonic
> time.
>
> Signed-off-by: Arnd Bergmann <[email protected]>
> Reviewed-by: Andrew Donnellan <[email protected]>
> Acked-by: Russell Currey <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/edfd17ff39bce59886e8249e645d6e

cheers

From 1583286008117400914@xxx Mon Nov 06 03:33:21 +0000 2017
X-GM-THRID: 1583172462831861718
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread