2017-11-06 03:33:21

by Russell Currey

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

On Sat, 2017-11-04 at 22:26 +0100, 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]>

Acked-by: Russell Currey <[email protected]>

From 1583285835372331211@xxx Mon Nov 06 03:30:36 +0000 2017
X-GM-THRID: 1583172462831861718
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread