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