summaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-04-19 09:51:03 +0300
committerHelge Deller <deller@gmx.de>2018-04-20 21:18:21 +0300
commitf76cdd00ef0e39d880139b074e3b247594dff95a (patch)
tree8650a13c6b5571a44fe5678fccafd587e73604b2 /kernel/compat.c
parent41dbee81c875300072f6154d6722f6e8e1353cca (diff)
downloadlinux-f76cdd00ef0e39d880139b074e3b247594dff95a.tar.xz
parisc: time: Convert read_persistent_clock() to read_persistent_clock64()
The read_persistent_clock() uses a timespec, which is not year 2038 safe on 32bit systems. On parisc architecture, we have implemented generic RTC drivers that can be used to compensate the system suspend time, but the RTC time can not represent the nanosecond resolution, so this patch just converts to read_persistent_clock64() with timespec64. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions