Module Name: src
Committed By: jmcneill
Date: Mon Dec 31 21:34:32 UTC 2012
Modified Files:
src/sys/arch/arm/arm32: arm32_machdep.c
Log Message:
reset todr clock on shutdown
To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/arm/arm32/arm32_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/arm32/arm32_machdep.c
diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.87 src/sys/arch/arm/arm32/arm32_machdep.c:1.88
--- src/sys/arch/arm/arm32/arm32_machdep.c:1.87 Mon Dec 10 08:19:10 2012
+++ src/sys/arch/arm/arm32/arm32_machdep.c Mon Dec 31 21:34:31 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_machdep.c,v 1.87 2012/12/10 08:19:10 matt Exp $ */
+/* $NetBSD: arm32_machdep.c,v 1.88 2012/12/31 21:34:31 jmcneill Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.87 2012/12/10 08:19:10 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.88 2012/12/31 21:34:31 jmcneill Exp $");
#include "opt_modular.h"
#include "opt_md.h"
@@ -177,7 +177,7 @@ halt(void)
}
-/* Sync the discs and unmount the filesystems */
+/* Sync the discs, unmount the filesystems, and adjust the todr */
void
bootsync(void)
@@ -201,6 +201,8 @@ bootsync(void)
}
vfs_shutdown();
+
+ resettodr();
}
/*