summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2005-10-30 22:29:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2005-10-30 22:29:03 +0000
commit0c23ab941c25bdb77990f1d6fe47f1e8e7a78725 (patch)
tree82aa66b2708f0b49d1386c3df1547f8ffdbde110 /sys/arch
parent0916759573cff90002b985a84370b5c3d78fefea (diff)
Update RTC on reboot.
ok drahn@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/macppc/machdep.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index a64cca0f235..589fc638f40 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.80 2005/10/22 21:14:28 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.81 2005/10/30 22:29:02 kettenis Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -995,10 +995,7 @@ boot(int howto)
if (!cold && !(howto & RB_NOSYNC) && !syncing) {
syncing = 1;
vfs_shutdown(); /* sync */
-#if 0
- /* resettodr does not currently do anything, address
- * this later
- */
+
/*
* If we've been adjusting the clock, the todr
* will be out of synch; adjust it now unless
@@ -1009,7 +1006,6 @@ boot(int howto)
} else {
printf("WARNING: not updating battery clock\n");
}
-#endif
}
splhigh();
if (howto & RB_HALT) {