rds: store socket timestamps as ktime_t
authorArnd Bergmann <arnd@arndb.de>
Wed, 29 Aug 2018 15:47:19 +0000 (17:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 02:52:50 +0000 (19:52 -0700)
commit2de9d505fb0d53676b6d595e8334a9dcdfda8d12
tree5c60acce3f1fbfc0a819f889945285b0d660564e
parentc2ad647c6442cf6730ffd86cbadbbce101dea937
rds: store socket timestamps as ktime_t

rds is the last in-kernel user of the old do_gettimeofday()
function. Convert it over to ktime_get_real() to make it
work more like the generic socket timestamps, and to let
us kill off do_gettimeofday().

A follow-up patch will have to change the user space interface
to deal better with 32-bit tasks, which may use an incompatible
layout for 'struct timespec'.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/rds.h
net/rds/recv.c