diff options
author | 2015-01-22 02:31:55 +0000 | |
---|---|---|
committer | 2015-01-23 17:21:57 -0800 | |
commit | 9a4a445e30f0b601ca2d9433274047cbf48ebf9e (patch) | |
tree | b02b62d1598b6a84332d527ec7e9ba996948d084 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtc: Remove redundant rtc_valid_tm() from rtc_hctosys() (diff) | |
download | wireguard-linux-9a4a445e30f0b601ca2d9433274047cbf48ebf9e.tar.xz wireguard-linux-9a4a445e30f0b601ca2d9433274047cbf48ebf9e.zip |
rtc: Convert rtc_set_ntp_time() to use timespec64
rtc_set_ntp_time() uses timespec which is y2038-unsafe,
so modify to use timespec64 which is y2038-safe, then
replace rtc_time_to_tm() with rtc_time64_to_tm().
Also adjust all its call sites(only NTP uses it) accordingly.
Cc: pang.xunlei <pang.xunlei@linaro.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions