diff options
| author | Xunlei Pang <[email protected]> | 2015-04-02 03:34:22 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-03 06:18:19 +0000 |
| commit | 2ee966320028ac846654eba5344540eeb4dc228d (patch) | |
| tree | f76ad848dbad24961069e1361821570b00e83ef6 /drivers/rtc/interface.c | |
| parent | time: Add y2038 safe read_boot_clock64() (diff) | |
| download | kernel-2ee966320028ac846654eba5344540eeb4dc228d.tar.gz kernel-2ee966320028ac846654eba5344540eeb4dc228d.zip | |
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 <[email protected]>
Signed-off-by: Xunlei Pang <[email protected]>
Signed-off-by: John Stultz <[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 'drivers/rtc/interface.c')
0 files changed, 0 insertions, 0 deletions
