[MIPS] Fix ip27 build.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
5dac83030a
commit
c0858d82fa
|
@ -122,7 +122,7 @@ again:
|
|||
xtime.tv_sec > last_rtc_update + 660 &&
|
||||
(xtime.tv_nsec / 1000) >= 500000 - ((unsigned) TICK_SIZE) / 2 &&
|
||||
(xtime.tv_nsec / 1000) <= 500000 + ((unsigned) TICK_SIZE) / 2) {
|
||||
if (rtc_set_time(xtime.tv_sec) == 0) {
|
||||
if (rtc_mips_set_time(xtime.tv_sec) == 0) {
|
||||
last_rtc_update = xtime.tv_sec;
|
||||
} else {
|
||||
last_rtc_update = xtime.tv_sec - 600;
|
||||
|
|
Loading…
Reference in New Issue