Skip to content
Commit 3d9644ef authored by Baolin Wang's avatar Baolin Wang Committed by Ley Foon Tan
Browse files

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: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
parent 0adb3285
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment