commit | 3d9644ef9a0f6c3ca0c1bd2aea1d82e7ea0a7f24 | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Tue Apr 03 00:36:02 2018 +0800 |
committer | Ley Foon Tan <ley.foon.tan@intel.com> | Tue Apr 03 00:36:55 2018 +0800 |
tree | 58be869797fe724190e3f7217edebec332cd48ea | |
parent | 0adb32858b0bddf4ada5f364a84ed60b196dbcda [diff] |
nios2: Use read_persistent_clock64() instead of read_persistent_clock() Since struct timespec is not y2038 safe on 32bit machines, this patch converts read_persistent_clock() to read_persistent_clock64() using struct timespec64, as well as converting mktime() to mktime64(). Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>