OpenCloudOS-Kernel/arch/mips/lasat
Xunlei Pang 2ee9663200 time: Add y2038 safe read_persistent_clock64()
As part of addressing in-kernel y2038 issues, this patch adds
read_persistent_clock64() and replaces all the call sites of
read_persistent_clock() with this function. This is a __weak
implementation, which simply calls the existing y2038 unsafe
read_persistent_clock().

This allows architecture specific implementations to be
converted independently, and eventually the y2038 unsafe
read_persistent_clock() can be removed after all its
architecture specific implementations have been converted to
read_persistent_clock64().

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-3-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-04-03 08:18:19 +02:00
..
image MIPS: Refactor load/entry address calculations 2013-09-03 17:58:37 +02:00
Kconfig MIPS: Lasat: Add missing CONFIG_PROC_FS dependency to PICVUE_PROC 2014-10-21 17:35:44 +02:00
Makefile MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
Platform MIPS: Lasat: Migrate to new platform makefile style. 2010-08-05 13:25:53 +01:00
at93c.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
at93c.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
ds1603.c timekeeping: Increase granularity of read_persistent_clock() 2009-08-15 10:55:46 +02:00
ds1603.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
interrupt.c MIPS: Mark cascade and low level interrupts IRQF_NO_THREAD 2011-09-21 17:52:15 +02:00
lasat_board.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
lasat_models.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
picvue.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
picvue.h MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
picvue_proc.c MIPS: Lasat: Replace del_timer by del_timer_sync 2014-03-31 18:17:12 +02:00
prom.c MIPS: Replace all usages of CL_SIZE by COMMAND_LINE_SIZE 2009-12-17 01:56:56 +00:00
prom.h [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
reset.c Disintegrate asm/system.h for MIPS 2012-03-28 18:30:02 +01:00
serial.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
setup.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
sysctl.c time: Add y2038 safe read_persistent_clock64() 2015-04-03 08:18:19 +02:00