Xunlei Pang a6d6e1c879 rtc: Modify rtc_hctosys() to address y2038 issues
rtc_hctosys() has a number of y2038 issues.

This patch resolves them by:
- Replace rtc_tm_to_time() with y2038-safe rtc_tm_to_time64()
- Replace do_settimeofday() with y2038-safe do_settimeofday64()

After this patch, it should not have any remaining y2038 issues.

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>
2015-01-23 17:21:56 -08:00
..
2014-12-11 17:48:14 -08:00
2014-12-14 16:10:09 -08:00
2014-04-03 16:21:16 -07:00
2014-04-03 16:21:16 -07:00
2014-10-14 02:18:17 +02:00
2014-12-14 16:10:09 -08:00
2014-08-08 15:57:20 -07:00
2013-04-19 13:51:25 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-09-19 12:39:19 +02:00
2014-04-03 16:21:16 -07:00