Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 reset todr clock on shutdown
details: https://anonhg.NetBSD.org/src/rev/8674d3dc6698
branches: trunk
changeset: 783611:8674d3dc6698
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Mon Dec 31 21:34:31 2012 +0000
description:
reset todr clock on shutdown
diffstat:
sys/arch/arm/arm32/arm32_machdep.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (36 lines):
diff -r 222fbf31c6ca -r 8674d3dc6698 sys/arch/arm/arm32/arm32_machdep.c
--- a/sys/arch/arm/arm32/arm32_machdep.c Mon Dec 31 19:47:27 2012 +0000
+++ b/sys/arch/arm/arm32/arm32_machdep.c Mon Dec 31 21:34:31 2012 +0000
@@ -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 @@
}
-/* Sync the discs and unmount the filesystems */
+/* Sync the discs, unmount the filesystems, and adjust the todr */
void
bootsync(void)
@@ -201,6 +201,8 @@
}
vfs_shutdown();
+
+ resettodr();
}
/*
Home |
Main Index |
Thread Index |
Old Index