Skip to content
Snippets Groups Projects
Commit c0858d82 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

[MIPS] Fix ip27 build.

parent 5dac8303
Branches
Tags
No related merge requests found
...@@ -122,7 +122,7 @@ void ip27_rt_timer_interrupt(struct pt_regs *regs) ...@@ -122,7 +122,7 @@ void ip27_rt_timer_interrupt(struct pt_regs *regs)
xtime.tv_sec > last_rtc_update + 660 && 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 &&
(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; last_rtc_update = xtime.tv_sec;
} else { } else {
last_rtc_update = xtime.tv_sec - 600; last_rtc_update = xtime.tv_sec - 600;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment