Messages in this thread | | | From | Arnd Bergmann <> | Date | Fri, 20 Apr 2018 17:23:55 +0200 | Subject | Re: [PATCH] parisc: time: Convert read_persistent_clock() to read_persistent_clock64() |
| |
On Thu, Apr 19, 2018 at 8:51 AM, Baolin Wang <baolin.wang@linaro.org> wrote: > 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>
I have created the exact same patch a while ago but never submitted that.
If the parisc maintainers want to apply yours with my Ack, that would be appreciated.
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |