diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2015-01-27 15:49:48 +0530 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-27 11:06:19 -0500 |
commit | cedda4c3b1ded2cc4951aeca38fdf862b9b79fb6 (patch) | |
tree | 2f02198d245329c9901f9d58484bdb67da95db01 /include/linux/libata.h | |
parent | 552941503b9500a99be06cc9f60348099435b160 (diff) | |
download | talos-obmc-linux-cedda4c3b1ded2cc4951aeca38fdf862b9b79fb6.tar.gz talos-obmc-linux-cedda4c3b1ded2cc4951aeca38fdf862b9b79fb6.zip |
pata_pdc2027x: Use 64-bit timekeeping
Function pdc_detect_pll_input_clock uses 'struct timeval'
to measure start and end times, used to compute the pll_clock value.
'struct timeval' on 32-bit systems will have its tv_sec field
overflow in year 2038 and beyond. This patch uses 'ktime_t'
(which uses 64 bits for seconds) for start and end times instead.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions