diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2015-10-22 15:45:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-03 19:51:08 +0300 |
commit | 353b39d1b1511376aca71bc3aba62831370561ca (patch) | |
tree | 534e14adf4e391981f22494b926cbbc3b9ec685e /lib/dynamic_queue_limits.c | |
parent | 6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff) | |
download | linux-353b39d1b1511376aca71bc3aba62831370561ca.tar.xz |
ide: pdc202xx_new: Replace timeval with ktime_t
This driver uses 'struct timeval' which we are trying to remove since
32 bit time types will break in the year 2038 by replacing it with
ktime_t.
This patch changes do_gettimeofday() to ktime_get() because
ktime_get() returns a ktime_t while do_gettimeofday() returns struct
timeval.
This patch also uses ktime_us_delta() to get the elapsed time.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dynamic_queue_limits.c')
0 files changed, 0 insertions, 0 deletions