linux_dsm_epyc7002/drivers/isdn/hardware/eicon
Alison Schofield 096f6262c5 isdn: divamnt: use y2038-safe ktime_get_ts64() for trace data timestamps
divamnt stores a start_time at module init and uses it to calculate
elapsed time. The elapsed time, stored in secs and usecs, is part of
the trace data the driver maintains for the DIVA Server ISDN cards.
No change to the format of that time data is required.

To avoid overflow on 32-bit systems use ktime_get_ts64() to return
the elapsed monotonic time since system boot.

This is a change from real to monotonic time. Since the driver only
stores elapsed time, monotonic time is sufficient and more robust
against real time clock changes. These new monotonic values can be
more useful for debugging because they can be easily compared to
other monotonic timestamps.

Note elaspsed time values will now start at system boot time rather
than module load time, so they will differ slightly from previously
reported values.

Remove declaration and init of previously unused time constants:
start_sec, start_usec.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-18 11:09:30 -05:00
..
adapter.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
capi20.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capidtmf.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capidtmf.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capifunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
capifunc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
capimain.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
cardtype.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
cp_vers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dadapter.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dadapter.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debug_if.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debug.c isdn: divamnt: use y2038-safe ktime_get_ts64() for trace data timestamps 2016-02-18 11:09:30 -05:00
debuglib.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
debuglib.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dfifo.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di_dbg.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
di.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
did_vers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diddfunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
diva_didd.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
diva_dma.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva_dma.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva_pci.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
diva.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
divacapi.h treewide: Replace incomming with incoming in all comments and strings 2013-01-03 16:15:49 +01:00
divamnt.c isdn: divamnt: use y2038-safe ktime_get_ts64() for trace data timestamps 2016-02-18 11:09:30 -05:00
divasfunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
divasi.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
divasmain.c isdn: remove deprecated IRQF_DISABLED 2013-10-17 15:13:20 -04:00
divasproc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
divasync.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dqueue.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dqueue.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsp_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsp_tst.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dspdids.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsrv4bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsrv_bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
dsrv_pri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
entity.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
helpers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
idifunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
io.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
io.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
istream.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Kconfig Use menuconfig objects: ISDN: CONFIG_CAPI_EICON 2007-07-17 10:23:06 -07:00
kst_ifc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
maintidi.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
maintidi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
man_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
mdm_msg.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
message.c isdn: off by one in connect_res() 2015-02-02 19:33:18 -08:00
mi_pc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
mntfunc.c isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
os_4bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_4bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_bri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_capi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_pri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
os_pri.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pc_init.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pc_maint.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
pc.h treewide: Replace incomming with incoming in all comments and strings 2013-01-03 16:15:49 +01:00
pkmaint.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
platform.h isdn/eicon: use standard __init,__exit function markup 2012-04-27 00:03:34 -04:00
pr_pc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s_4bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s_bri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
s_pri.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
sdp_hdr.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
um_idi.c isdn: eicon: free pointer after using it in log msg in divas_um_idi_delete_entity() 2013-10-02 16:00:59 -04:00
um_idi.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
um_xdi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xdi_adapter.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
xdi_msg.h drivers: isdn: eicon: xdi_msg.h: Fix typo in #ifndef 2014-08-22 11:31:30 -07:00
xdi_vers.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00