powerpc: eeh: stop using do_gettimeofday()
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Nov 8 10:30:23 AEDT 2017
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 <arnd at arndb.de>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Acked-by: Russell Currey <ruscur at russell.cc>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/edfd17ff39bce59886e8249e645d6e
cheers
More information about the Linuxppc-dev
mailing list