diff options
| author | Tina Ruchandani <[email protected]> | 2015-10-29 05:16:57 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-11-19 09:31:45 -0200 |
| commit | dd4c22a61e0bdaf84202fcf84cb8f75ed7bb3552 (patch) | |
| tree | 7cef248203e463111c0dae2ff1cb2d47aae528d8 /tools/perf/scripts/python/sched-migration.py | |
| parent | 8c47311d34eccedb06bc60fc9435a53bd4aff392 (diff) | |
[media] rc-core: Remove 'struct timeval' usage
streamzap uses 'struct timeval' to store the start time of a signal for
gap tracking. struct timeval uses a 32-bit seconds representation which
will overflow in year 2038 and beyond. Replace struct timeval with ktime_t
which uses a 64-bit seconds representation and is 2038 safe. This patch
uses ktime_get_real() preserving the use of wall-clock time in the
original code.
Signed-off-by: Tina Ruchandani <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions