commit | edfd17ff39bce59886e8249e645d6ecfc3e3829c | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Sat Nov 04 22:26:52 2017 +0100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Nov 06 17:40:00 2017 +1100 |
tree | b5802f2d9eb65d657f714f31329d2b07487a7834 | |
parent | cbb55eeb49b116bb3880137661ad8ce1ed45d672 [diff] |
powerpc/eeh: Stop using do_gettimeofday() 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@arndb.de> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Acked-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>