staging/lustre: use ktime_t for calculating elapsed time
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:07 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:34 +0000 (04:03 +0200)
commit98f2d643e3597bf42fa6c2c2fa12b99fe4afb3bc
treefb7230fb3e5cde8f708340384a86cbd87b70074d
parentbf6d21539d58f64812d71c956ecec3d67650b2ee
staging/lustre: use ktime_t for calculating elapsed time

process_param2_config() tries to print how much time has passed
across a call_usermodehelper() function, and uses struct timeval
for that.

We want to remove this structure, so this is better expressed
in terms of ktime_t and ktime_us_delta().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/obd_config.c