Module Name: src Committed By: pooka Date: Fri May 31 16:16:40 UTC 2013
Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: run shutdownhooks To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270 src/sys/rump/librump/rumpkern/rump.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/rump/librump/rumpkern/rump.c diff -u src/sys/rump/librump/rumpkern/rump.c:1.269 src/sys/rump/librump/rumpkern/rump.c:1.270 --- src/sys/rump/librump/rumpkern/rump.c:1.269 Wed May 15 14:07:26 2013 +++ src/sys/rump/librump/rumpkern/rump.c Fri May 31 16:16:40 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: rump.c,v 1.269 2013/05/15 14:07:26 pooka Exp $ */ +/* $NetBSD: rump.c,v 1.270 2013/05/31 16:16:40 pooka Exp $ */ /* * Copyright (c) 2007-2011 Antti Kantee. All Rights Reserved. @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.269 2013/05/15 14:07:26 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.270 2013/05/31 16:16:40 pooka Exp $"); #include <sys/systm.h> #define ELFSIZE ARCH_ELFSIZE @@ -568,6 +568,8 @@ cpu_reboot(int howto, char *bootstr) rump_vfs_fini(); } + doshutdownhooks(); + /* your wish is my command */ if (howto & RB_HALT) { printf("rump kernel halted\n");