Don't reset to old interrupt level at the exit of interrupt handler.

It didn't ensure the maximum interrupt nest depth.
This commit is contained in:
uch 2002-05-10 20:14:39 +00:00
parent 22cea0e73c
commit b1f3b48aa2
3 changed files with 4 additions and 12 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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 *