• Russell King's avatar
    [ARM] Ensure that /proc/uptime returns sensible figures. · 6a32f36f
    Russell King authored
    When we set xtime at boot from the RTC, we weren't setting the
    monotonic time offset.  This had the effect of making the uptime
    rather large.
    
    We get around this problem by using the do_settimeofday() to set
    the current time.  do_settimeofday() knows about this issue, and
    will apply the appropriate correction to the monotonic time offset
    for us.
    6a32f36f
time.h 2.8 KB