diff options
| author | Xunlei Pang <[email protected]> | 2015-04-01 20:34:28 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-03 08:18:24 +0200 |
| commit | 4d644ab84c6ed66f7a628c74d83c34d85bec13bf (patch) | |
| tree | 4ae8c019cade838bf75e1b8e8e4583554ac8360a /tools/perf/scripts/python/netdev-times.py | |
| parent | 8e4ff1a81aa91d12856287c7103d0301ac91351a (diff) | |
drivers/rtc/test: Update driver to address y2038/y2106 issues
This driver has a number of y2038/y2106 issues.
This patch resolves them by:
- Replacing get_seconds() with ktime_get_real_seconds()
- Replacing rtc_time_to_tm() with rtc_time64_to_tm()
Also add test_rtc_set_mmss64() for testing rtc_class_ops's
set_mmss64(), which can be activated by "test_mmss64" module
parameter.
Signed-off-by: Xunlei Pang <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Acked-by: Alessandro Zummo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions