diff options
| author | Arnd Bergmann <[email protected]> | 2017-11-07 11:43:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-27 09:20:40 +0100 |
| commit | f6829ad6179906da6c2f7fd4ce526f4bb2e03579 (patch) | |
| tree | ce4cd15c13ffd2358102684fab2a0ad7fa780dbd /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6b549e20b63421e8655f7fe3612de414ec16ee2a (diff) | |
staging: rtlwifi: rtlwifi: use ktime_get_real_seconds() for suspend time
do_gettimeofday() is deprecated and slower than necessary for the purpose
of reading the seconds. This changes rtl_op_suspend/resume to use
ktime_get_real_seconds() instead, which is simpler and avoids confusion
about whether it is y2038-safe or not.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions