From b1f3b48aa26d39282cda7ab1fd48097fd610d421 Mon Sep 17 00:00:00 2001 From: uch Date: Fri, 10 May 2002 20:14:39 +0000 Subject: [PATCH] Don't reset to old interrupt level at the exit of interrupt handler. It didn't ensure the maximum interrupt nest depth. --- sys/arch/dreamcast/dreamcast/machdep.c | 5 +---- sys/arch/evbsh3/evbsh3/machdep.c | 6 ++---- sys/arch/mmeye/mmeye/machdep.c | 5 +---- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/sys/arch/dreamcast/dreamcast/machdep.c b/sys/arch/dreamcast/dreamcast/machdep.c index c4b1fb0bb97a..fb3af2df7f4d 100644 --- a/sys/arch/dreamcast/dreamcast/machdep.c +++ b/sys/arch/dreamcast/dreamcast/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.20 2002/05/09 12:33:18 uch Exp $ */ +/* $NetBSD: machdep.c,v 1.21 2002/05/10 20:14:39 uch Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc. @@ -270,7 +270,4 @@ intc_intr(int ssr, int spc, int ssp) } else { (*ih->ih_func)(ih->ih_arg); } - - /* Return to old interrupt level. */ - _cpu_intr_resume(ssr & 0xf0); } diff --git a/sys/arch/evbsh3/evbsh3/machdep.c b/sys/arch/evbsh3/evbsh3/machdep.c index 88ee44a2bc8c..013d80c581e3 100644 --- a/sys/arch/evbsh3/evbsh3/machdep.c +++ b/sys/arch/evbsh3/evbsh3/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.41 2002/05/09 12:34:53 uch Exp $ */ +/* $NetBSD: machdep.c,v 1.42 2002/05/10 20:14:40 uch Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -777,7 +777,5 @@ intc_intr(int ssr, int spc, int ssp) printf("NMI ignored.\n"); break; } - - /* Return to old interrupt level. */ - _cpu_intr_resume(ssr & 0xf0); } + diff --git a/sys/arch/mmeye/mmeye/machdep.c b/sys/arch/mmeye/mmeye/machdep.c index 6079d8484e14..7dc34a714294 100644 --- a/sys/arch/mmeye/mmeye/machdep.c +++ b/sys/arch/mmeye/mmeye/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.27 2002/05/09 12:36:17 uch Exp $ */ +/* $NetBSD: machdep.c,v 1.28 2002/05/10 20:14:40 uch Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -589,9 +589,6 @@ intc_intr(int ssr, int spc, int ssp) } else { (*ih->ih_func)(ih->ih_arg); } - - /* Return to old interrupt level. */ - _cpu_intr_resume(ssr & 0xf0); } void *