summaryrefslogtreecommitdiffstats
path: root/arch/mips64/sgi-ip27/ip27-timer.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-09-06 01:19:08 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-09-06 01:19:08 +0000
commit80aa08476c26d1f9aea7162807bd27f717852afb (patch)
treeeac3f1445aa314b81b31ff3521e06d4619ba676c /arch/mips64/sgi-ip27/ip27-timer.c
parent9781bc8304de086b933804348a40995d60b66007 (diff)
NTP fixes from Maciej.
Diffstat (limited to 'arch/mips64/sgi-ip27/ip27-timer.c')
-rw-r--r--arch/mips64/sgi-ip27/ip27-timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-timer.c b/arch/mips64/sgi-ip27/ip27-timer.c
index 90b3e3e75..62537554b 100644
--- a/arch/mips64/sgi-ip27/ip27-timer.c
+++ b/arch/mips64/sgi-ip27/ip27-timer.c
@@ -192,9 +192,9 @@ void do_settimeofday(struct timeval *tv)
xtime = *tv;
time_adjust = 0; /* stop active adjtime() */
- time_state = TIME_BAD;
- time_maxerror = MAXPHASE;
- time_esterror = MAXPHASE;
+ time_status |= STA_UNSYNC;
+ time_maxerror = NTP_PHASE_LIMIT;
+ time_esterror = NTP_PHASE_LIMIT;
write_unlock_irq(&xtime_lock);
}