Only resynchronize the RTC on shutdown if we had previously loaded it and
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 15 Oct 2005 21:03:24 +0000 (21:03 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 15 Oct 2005 21:03:24 +0000 (21:03 +0000)
commite63ac55d4196275ee5e56bf1ec1e6e7cccf57c08
treec1cacb549335d8177f6aa67553d851f0ee7c1adb
parent1439c090b565720a1adf8521a5321be7b97ced1c
Only resynchronize the RTC on shutdown if we had previously loaded it and
we are not in a panic.  This prevents early failures and panics from
writing a bad time back into the RTC.
sys/i386/isa/clock.c
sys/platform/pc32/isa/clock.c