From: Tina Ruchandani Date: Tue, 27 Jan 2015 10:19:48 +0000 (+0530) Subject: pata_pdc2027x: Use 64-bit timekeeping X-Git-Tag: fixes-v4.0-rc1~165^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cedda4c3b1ded2cc4951aeca38fdf862b9b79fb6;p=pandora-kernel.git 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-diff-tree failed