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 Call pmf_system_shutdown in cpu_reboot. O...
details: https://anonhg.NetBSD.org/src/rev/91da68d39743
branches: trunk
changeset: 781421:91da68d39743
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 05 06:29:09 2012 +0000
description:
Call pmf_system_shutdown in cpu_reboot. OK matt
diffstat:
sys/arch/arm/arm32/arm32_reboot.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 782718b8ca10 -r 91da68d39743 sys/arch/arm/arm32/arm32_reboot.c
--- a/sys/arch/arm/arm32/arm32_reboot.c Wed Sep 05 04:01:23 2012 +0000
+++ b/sys/arch/arm/arm32/arm32_reboot.c Wed Sep 05 06:29:09 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm32_reboot.c,v 1.1 2012/08/31 23:59:51 matt Exp $ */
+/* $NetBSD: arm32_reboot.c,v 1.2 2012/09/05 06:29:09 skrll Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec Corporation. All rights reserved.
@@ -122,7 +122,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_reboot.c,v 1.1 2012/08/31 23:59:51 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_reboot.c,v 1.2 2012/09/05 06:29:09 skrll Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -174,6 +174,8 @@
/* Run any shutdown hooks */
doshutdownhooks();
+ pmf_system_shutdown(boothowto);
+
/* Make sure IRQ's are disabled */
IRQdisable;
Home |
Main Index |
Thread Index |
Old Index