diff options
| author | Arnd Bergmann <[email protected]> | 2017-11-27 12:41:38 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-30 09:26:32 -0500 |
| commit | 311af51dcb5629f04976a8e451673f77e3301041 (patch) | |
| tree | 9dc97dea04bbc8493830a0dd464f6620e5d09f96 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | b2dfcb3f83258de1aa396bd9f57321e2ff29b781 (diff) | |
openvswitch: use ktime_get_ts64() instead of ktime_get_ts()
timespec is deprecated because of the y2038 overflow, so let's convert
this one to ktime_get_ts64(). The code is already safe even on 32-bit
architectures, since it uses monotonic times. On 64-bit architectures,
nothing changes, while on 32-bit architectures this avoids one
type conversion.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions