Module Name:    src
Committed By:   skrll
Date:           Wed Sep  5 06:29:09 UTC 2012

Modified Files:
        src/sys/arch/arm/arm32: arm32_reboot.c

Log Message:
Call pmf_system_shutdown in cpu_reboot. OK matt


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/arm32/arm32_reboot.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_reboot.c
diff -u src/sys/arch/arm/arm32/arm32_reboot.c:1.1 src/sys/arch/arm/arm32/arm32_reboot.c:1.2
--- src/sys/arch/arm/arm32/arm32_reboot.c:1.1	Fri Aug 31 23:59:51 2012
+++ src/sys/arch/arm/arm32/arm32_reboot.c	Wed Sep  5 06:29:09 2012
@@ -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 @@ cpu_reboot(int howto, char *bootstr)
 	/* Run any shutdown hooks */
 	doshutdownhooks();
 
+	pmf_system_shutdown(boothowto);
+
 	/* Make sure IRQ's are disabled */
 	IRQdisable;
 

Reply via email to