Tina Ruchandani ebf918cf99 isdn: Use ktime_t instead of 'struct timeval'
'struct timeval' uses 32-bit representation for seconds which will
overflow in year 2038 and beyond. mISDN/clock.c needs to compute and
store elapsed time in intervals of 125 microseconds. This patch replaces
the usage of 'struct timeval' with 64-bit ktime_t which is y2038 safe.
The patch also replaces do_gettimeofday() (wall-clock time) with
ktime_get() (monotonic time) since we only care about elapsed time here.

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Suggested-by: Arnd Bergmnann <arnd@arndb.de>
Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-20 16:47:13 -04:00
..
2012-02-21 09:04:01 -08:00
2015-08-07 13:58:05 +02:00
2012-04-26 03:10:45 -04:00
2012-04-26 03:10:45 -04:00
2012-02-21 09:04:01 -08:00
2008-07-27 01:54:58 +02:00
2013-12-02 14:54:57 +01:00
2012-02-21 09:04:01 -08:00
2012-05-04 11:55:39 -04:00
2012-02-21 09:04:01 -08:00
2012-02-21 09:04:01 -08:00
2012-11-30 12:10:57 -05:00