PERFORCE change 54995 for review
Juli Mallett
jmallett at FreeBSD.org
Tue Jun 15 08:09:42 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=54995
Change 54995 by jmallett at jmallett_oingo on 2004/06/15 08:09:01
Up critical section on the running thread before dispatching an
interrupt, it may result in a context switch, and we need to avoid
that if we're already in a critical section.
Affected files ...
.. //depot/projects/mips/sys/mips/mips/trap.c#23 edit
Differences ...
==== //depot/projects/mips/sys/mips/mips/trap.c#23 (text+ko) ====
@@ -119,7 +119,9 @@
goto done;
case TrInt:
/*platform_trap_exit();*/
+ critical_enter();
platform_intr(tf);
+ critical_exit();
goto done;
case TrAdEL:
case TrDBE:
More information about the p4-projects
mailing list