Do the NetBSD thing wrt resettodr in cpu_reboot. That is, remove OpenBSD

leftovers.
This commit is contained in:
skrll 2006-09-15 06:11:40 +00:00
parent f576f19cbb
commit d49ab36123
1 changed files with 7 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.30 2006/08/26 06:17:48 skrll Exp $ */
/* $NetBSD: machdep.c,v 1.31 2006/09/15 06:11:40 skrll Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.30 2006/08/26 06:17:48 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.31 2006/09/15 06:11:40 skrll Exp $");
#include "opt_cputype.h"
#include "opt_ddb.h"
@ -1361,10 +1361,12 @@ cpu_reboot(int howto, char *user_boot_string)
if (!(howto & RB_NOSYNC) && waittime < 0) {
waittime = 0;
vfs_shutdown();
#if 0
/*
* If we've been adjusting the clock, the todr
* will be out of synch; adjust it now.
*/
resettodr();
#endif
printf("WARNING: not updating battery clock\n");
}
/* XXX probably save howto into stable storage */