diff options
author | Amitoj Kaur Chawla <[email protected]> | 2015-10-22 18:15:50 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-11-03 11:51:08 -0500 |
commit | 353b39d1b1511376aca71bc3aba62831370561ca (patch) | |
tree | 534e14adf4e391981f22494b926cbbc3b9ec685e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff) |
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 <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions