From cedda4c3b1ded2cc4951aeca38fdf862b9b79fb6 Mon Sep 17 00:00:00 2001 From: Tina Ruchandani Date: Tue, 27 Jan 2015 15:49:48 +0530 Subject: [PATCH] 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 Signed-off-by: Tina Ruchandani Reviewed-by: Arnd Bergmann Signed-off-by: Tejun Heo --- Reading git-format-patch failed