summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-22 14:59:54 (GMT)
committerBrian Norris <computersforpeace@gmail.com>2015-10-26 20:23:47 (GMT)
commitaf30c0a00aa0d086a820c2ec75544c07611834d7 (patch)
treedda7cb78cca78a868a9d6340d307bfee82f806be /net/sunrpc
parente278fc71b2c63905d3631b8d7b12ab7bcba9d2be (diff)
downloadlinux-af30c0a00aa0d086a820c2ec75544c07611834d7.tar.xz
mtd: tests: Replace timeval with ktime_t
Changes the 32-bit time type timeval to the 64-bit time type ktime_t, since 32-bit systems using struct timeval will break in the year 2038. Correspondingly change do_gettimeofday() to ktime_get() since ktime_get returns a ktime_t, but do_gettimeofday returns a struct timeval.Here, ktime_get() is used instead of ktime_get_real() since ktime_get() uses monotonic clock. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions