Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/i386/i386



On Wed, Apr 16, 2003 at 07:07:35PM +0000, David Laight wrote:
> 
> Module Name:  src
> Committed By: dsl
> Date:         Wed Apr 16 19:07:35 UTC 2003
> 
> Modified Files:
>       src/sys/arch/i386/i386: machdep.c
> 
> Log Message:
> Don't set the RTC to kernel time during shutdown.
> This stops the system RTC drifting if any hardclock ticks were missed (eg
> if the system spent any time at the kdb prompt).
> The RTC is set whenever the system clock is set, so setting at shutdown
> is unnecessary.

Hum ... what if ntp correct the clock with ntp_adjtime() ?
I suspect that after a long uptime, the RTC may have drifted significantly
from the kernel time.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 24 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index