patch-2.4.0-test12 linux/arch/mips64/sgi-ip22/ip22-timer.c
Next file: linux/arch/mips64/sgi-ip27/Makefile
Previous file: linux/arch/mips64/sgi-ip22/ip22-setup.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Nov 28 21:42:04 2000
- Orig file:
v2.4.0-test11/linux/arch/mips64/sgi-ip22/ip22-timer.c
- Orig date:
Tue Oct 31 12:42:26 2000
diff -u --recursive --new-file v2.4.0-test11/linux/arch/mips64/sgi-ip22/ip22-timer.c linux/arch/mips64/sgi-ip22/ip22-timer.c
@@ -257,8 +257,9 @@
{
write_lock_irq(&xtime_lock);
xtime = *tv;
- time_state = TIME_BAD;
- time_maxerror = MAXPHASE;
- time_esterror = MAXPHASE;
+ time_adjust = 0; /* stop active adjtime() */
+ time_status |= STA_UNSYNC;
+ time_maxerror = NTP_PHASE_LIMIT;
+ time_esterror = NTP_PHASE_LIMIT;
write_unlock_irq(&xtime_lock);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)