linux/drivers/isdn/mISDN
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
..
clock.c isdn: Use ktime_t instead of 'struct timeval' 2016-03-20 16:47:13 -04:00
core.c ISDN: convert class code to use dev_groups 2013-07-26 18:05:17 -07:00
core.h
dsp_audio.c isdn: Remove reverse_bits(), use revbit8() 2015-08-10 14:29:04 -07:00
dsp_biquad.h
dsp_blowfish.c
dsp_cmx.c treewide: Fix typo in printk 2015-08-07 13:58:05 +02:00
dsp_core.c treewide: Fix typo in printk messages 2015-03-06 23:05:39 +01:00
dsp_dtmf.c
dsp_ecdis.h
dsp_hwec.c
dsp_hwec.h
dsp_pipeline.c mISDN: use kstrdup() in dsp_pipeline_build 2015-10-13 18:29:50 -07:00
dsp_tones.c
dsp.h
fsm.c
fsm.h
hwchannel.c
Kconfig treewide: Fix typo in Kconfig 2013-12-02 14:54:57 +01:00
l1oip_codec.c mISDN: Deletion of unnecessary checks before the function call "vfree" 2014-11-21 12:17:53 -05:00
l1oip_core.c treewide: fix typo in printk and Kconfig 2014-11-20 14:56:11 +01:00
l1oip.h
layer1.c
layer1.h
layer2.c mISDN: fix OOM condition for sending queued I-Frames 2015-10-22 07:23:19 -07:00
layer2.h
Makefile
socket.c net: Pass kern from net_proto_family.create to sk_alloc 2015-05-11 10:50:17 -04:00
stack.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
tei.c
timerdev.c mISDN: grabbing/dropping reference to THIS_MODULE in open/release is racy 2013-04-29 15:41:49 -04:00