diff options
| author | Xunlei Pang <[email protected]> | 2015-04-02 03:34:24 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-04-03 06:18:21 +0000 |
| commit | a451570c008b9e19592e29f15cfd295bdf818c7a (patch) | |
| tree | 86e5932d0b6c97641b4793d0211a71edb4ddc4b6 /drivers/rtc/interface.c | |
| parent | time: Add y2038 safe update_persistent_clock64() (diff) | |
| download | kernel-a451570c008b9e19592e29f15cfd295bdf818c7a.tar.gz kernel-a451570c008b9e19592e29f15cfd295bdf818c7a.zip | |
ARM: OMAP: 32k counter: Provide y2038-safe omap_read_persistent_clock() replacement
As part of addressing "y2038 problem" for in-kernel uses, this
patch adds the y2038-safe omap_read_persistent_clock64() using
timespec64.
Because we rely on some subsequent changes to convert arm
multiarch support, omap_read_persistent_clock() will be removed
then.
Also remove the needless spinlock, because
read_persistent_clock() doesn't run simultaneously.
Signed-off-by: Xunlei Pang <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Acked-by: Tony Lindgren <[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
