Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/luna68k Clear innmihand flag (for recursion...



details:   https://anonhg.NetBSD.org/src/rev/15bfd57c9929
branches:  trunk
changeset: 771604:15bfd57c9929
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Nov 26 04:31:19 2011 +0000

description:
Clear innmihand flag (for recursion check) when the NMI hander is returned
so that we can abort kernel multiple times even after continue.

diffstat:

 sys/arch/luna68k/luna68k/machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r dfdcf23d7dfb -r 15bfd57c9929 sys/arch/luna68k/luna68k/machdep.c
--- a/sys/arch/luna68k/luna68k/machdep.c        Sat Nov 26 03:19:42 2011 +0000
+++ b/sys/arch/luna68k/luna68k/machdep.c        Sat Nov 26 04:31:19 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.86 2011/11/15 13:25:44 tsutsui Exp $ */
+/* $NetBSD: machdep.c,v 1.87 2011/11/26 04:31:19 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.86 2011/11/15 13:25:44 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.87 2011/11/26 04:31:19 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -731,6 +731,8 @@
        innmihand = 1;
 
        luna68k_abort("ABORT SWITCH");
+
+       innmihand = 0;
 }
 
 /*



Home | Main Index | Thread Index | Old Index