[PATCH] powerpc: eeh: stop using do_gettimeofday()

Russell Currey ruscur at russell.cc
Mon Nov 6 14:32:12 AEDT 2017


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 <arnd at arndb.de>

Acked-by: Russell Currey <ruscur at russell.cc>


More information about the Linuxppc-dev mailing list