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
..
2016-03-16 17:45:56 -07:00
2016-03-01 16:38:16 -08:00
2016-03-18 20:06:46 -07:00
2016-03-17 21:38:27 -07:00
2016-03-19 16:31:54 -07:00
2016-03-07 14:41:08 +02:00
2016-03-18 19:26:54 -07:00
2016-03-10 19:51:29 +01:00
2016-03-14 12:19:46 -04:00
2016-03-18 07:01:24 -05:00
2016-03-19 16:31:54 -07:00
2016-03-16 09:55:35 -07:00
2016-03-14 14:22:03 +01:00
2016-03-17 21:38:27 -07:00
2016-02-23 14:27:42 +09:00
2016-03-17 12:34:54 -07:00
2016-03-16 08:36:55 -07:00
2016-02-29 11:07:34 +09:00
2016-03-19 16:31:54 -07:00
2016-03-18 10:15:11 -07:00
2016-03-19 10:05:34 -07:00
2016-03-17 21:32:20 -07:00
2016-03-17 13:47:50 -07:00
2016-03-08 18:40:49 -08:00
2016-03-05 12:19:39 -08:00
2016-03-10 21:34:47 +01:00
2016-03-17 15:09:34 -07:00
2016-03-18 10:15:11 -07:00
2016-03-19 10:05:34 -07:00
2016-03-18 10:15:11 -07:00
2016-02-29 23:55:16 +01:00
2016-03-11 10:06:55 +01:00
2016-03-20 16:47:13 -04:00
2016-03-14 09:22:23 +01:00
2016-03-18 17:13:31 -07:00
2016-03-14 14:20:33 +01:00
2016-03-18 17:13:31 -07:00
2016-03-19 16:31:54 -07:00
2016-02-23 21:27:02 -05:00
2016-03-18 10:15:11 -07:00
2016-03-19 15:38:41 -07:00
2016-03-17 13:53:25 -07:00
2016-03-17 21:05:32 -07:00
2016-03-20 16:24:06 -04:00
2016-03-19 10:05:34 -07:00
2016-03-19 16:31:54 -07:00
2016-03-18 17:13:31 -07:00
2016-03-05 12:20:29 -08:00
2016-03-19 15:15:07 -07:00
2016-03-16 14:45:55 -07:00
2016-03-19 15:38:41 -07:00
2016-03-05 12:22:41 -08:00
2016-03-18 19:26:54 -07:00
2016-03-17 22:13:41 -07:00
2016-03-09 23:50:55 +01:00
2016-03-18 19:26:54 -07:00
2016-03-09 00:26:44 +01:00
2016-03-15 12:13:56 -07:00
2016-03-18 10:15:11 -07:00
2016-03-17 21:38:27 -07:00
2016-03-17 13:53:25 -07:00
2016-03-19 15:38:41 -07:00
2016-03-04 12:12:08 +01:00
2016-03-19 15:38:41 -07:00
2016-03-17 12:34:54 -07:00
2016-02-26 12:47:32 +02:00
2016-03-19 10:05:34 -07:00
2016-03-17 16:25:46 -07:00
2016-03-07 16:11:14 -08:00
2016-03-18 19:26:54 -07:00
2016-03-17 13:05:09 -07:00
2016-03-02 17:01:49 +02:00
2016-03-17 21:05:32 -07:00
2016-03-17 15:09:34 -07:00
2016-03-01 16:51:19 -08:00
2016-03-15 16:55:16 -07:00