Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Call rumpuser_sp_fini() from cpu_r...



details:   https://anonhg.NetBSD.org/src/rev/30696f7e1058
branches:  trunk
changeset: 759544:30696f7e1058
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Dec 12 17:11:33 2010 +0000

description:
Call rumpuser_sp_fini() from cpu_reboot() to make sure sys_reboot
with RB_HALT does not hang.

diffstat:

 sys/rump/librump/rumpkern/rump.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bebb8433fa8a -r 30696f7e1058 sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c  Sun Dec 12 17:10:36 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c  Sun Dec 12 17:11:33 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump.c,v 1.209 2010/12/12 13:18:07 pooka Exp $ */
+/*     $NetBSD: rump.c,v 1.210 2010/12/12 17:11:33 pooka Exp $ */
 
 /*
  * Copyright (c) 2007 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.209 2010/12/12 13:18:07 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.210 2010/12/12 17:11:33 pooka Exp $");
 
 #include <sys/systm.h>
 #define ELFSIZE ARCH_ELFSIZE
@@ -455,6 +455,7 @@
        int ruhow = 0;
 
        printf("rump kernel halting...\n");
+       rumpuser_sp_fini();
 
        /* dump means we really take the dive here */
        if ((howto & RB_DUMP) || panicstr) {



Home | Main Index | Thread Index | Old Index