diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-01-16 04:22:50 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-01-16 04:22:50 +0000 |
commit | abb0ee02de6f79585021eecbf4a6c560012e5bf7 (patch) | |
tree | fbc89b6d66df82a6ce355d169ba419f446b981f1 /sys | |
parent | c9058b8f9b830c10f9b3a892be456dbf363afbfd (diff) |
machdep.c
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sun3/sun3/machdep.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/sun3/sun3/machdep.c b/sys/arch/sun3/sun3/machdep.c index 4d2329f52da..6f397c00a64 100644 --- a/sys/arch/sun3/sun3/machdep.c +++ b/sys/arch/sun3/sun3/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.11 1997/01/16 04:04:28 kstailey Exp $ */ +/* $OpenBSD: machdep.c,v 1.12 1997/01/16 04:22:49 kstailey Exp $ */ /* $NetBSD: machdep.c,v 1.77 1996/10/13 03:47:51 christos Exp $ */ /* @@ -815,13 +815,11 @@ reboot2(howto, user_boot_string) reboot_sync(); /* * If we've been adjusting the clock, the todr - * will be out of synch; adjust it now. - * - * XXX - However, if the kernel has been sitting in ddb, - * the time will be way off, so don't set the HW clock! - * XXX - Should do sanity check against HW clock. -gwr + * will be out of synch; adjust it now unless + * the system was sitting in ddb. */ - /* resettodr(); */ + if ((howto & RB_TIMEBAD) == 0) { + resettodr(); } /* Disable interrupts. */ |